Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pseer
gxpt_ht
Commits
30934f6d
Commit
30934f6d
authored
Jan 18, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志增加数据
parent
b447f2b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
QPServiceImplAspect.java
...ain/java/share/framework/aspectj/QPServiceImplAspect.java
+4
-2
No files found.
share-framework/src/main/java/share/framework/aspectj/QPServiceImplAspect.java
View file @
30934f6d
...
@@ -95,9 +95,11 @@ public class QPServiceImplAspect {
...
@@ -95,9 +95,11 @@ public class QPServiceImplAspect {
couponLog
.
setStatus
(
YesNoEnum
.
yes
.
getDisplay_3
());
couponLog
.
setStatus
(
YesNoEnum
.
yes
.
getDisplay_3
());
couponLog
.
setMessage
(
outParams
);
couponLog
.
setMessage
(
outParams
);
couponLog
.
setCreateTime
(
new
Date
());
couponLog
.
setCreateTime
(
new
Date
());
couponLog
.
setNumber
(
TRY_NUMBER
);
logger
.
info
(
"优惠卷操作日志:{}"
,
couponLog
);
logger
.
info
(
"优惠卷操作日志:{}"
,
couponLog
);
logger
.
info
(
"开始
异步
执行新增正常日志"
);
logger
.
info
(
"开始执行新增正常日志"
);
boolean
isSaved
=
couponLogService
.
save
(
couponLog
);
boolean
isSaved
=
couponLogService
.
save
(
couponLog
);
System
.
out
.
println
(
couponLog
+
"============================================================"
);
if
(
isSaved
)
{
if
(
isSaved
)
{
logger
.
info
(
"新增日志成功"
);
logger
.
info
(
"新增日志成功"
);
}
else
{
}
else
{
...
@@ -141,7 +143,7 @@ public class QPServiceImplAspect {
...
@@ -141,7 +143,7 @@ public class QPServiceImplAspect {
logger
.
error
(
"Error while processing exception log"
,
e2
);
logger
.
error
(
"Error while processing exception log"
,
e2
);
}
finally
{
}
finally
{
logger
.
info
(
"优惠卷操作日志:{}"
,
couponLog
);
logger
.
info
(
"优惠卷操作日志:{}"
,
couponLog
);
logger
.
info
(
"开始
异步
执行新增错误日志"
);
logger
.
info
(
"开始执行新增错误日志"
);
boolean
i
=
couponLogService
.
save
(
couponLog
);
boolean
i
=
couponLogService
.
save
(
couponLog
);
if
(
i
)
{
if
(
i
)
{
logger
.
info
(
"新增日志成功"
);
logger
.
info
(
"新增日志成功"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment