记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
6fdd218e
Commit
6fdd218e
authored
Aug 30, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_member_voucher_refund' into dev_member_voucher_refund
parents
8c3b9e88
69287d89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
CandyMgtCouponTaskController.java
...m/controller/candy/task/CandyMgtCouponTaskController.java
+3
-2
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/controller/candy/task/CandyMgtCouponTaskController.java
View file @
6fdd218e
...
...
@@ -46,14 +46,15 @@ public class CandyMgtCouponTaskController {
int
taskSize
=
CollectionUtils
.
isEmpty
(
list
)
?
-
1
:
list
.
size
();
log
.
info
(
"发放券任务总数:{} >>> BEGIN BEGIN BEGIN"
,
taskSize
);
LambdaQueryWrapper
<
CandyCoupon
>
couponQueryWrapper
=
Wrappers
.
lambdaQuery
(
CandyCoupon
.
class
).
eq
(
CandyCoupon:
:
getState
,
1
);
for
(
int
i
=
0
;
i
<
taskSize
;
i
++)
{
CandyMgtCoupon
mgtCoupon
=
list
.
get
(
i
);
mgtCoupon
.
setState
(
9
);
try
{
if
(
platformCandyMgtCouponService
.
updateById
(
mgtCoupon
))
{
CandyCoupon
coupon
=
platformCandyCouponService
.
getOne
(
couponQueryWrapper
.
eq
(
CandyCoupon:
:
getCouponId
,
mgtCoupon
.
getCouponId
()));
LambdaQueryWrapper
<
CandyCoupon
>
couponLambdaQueryWrapper
=
Wrappers
.
lambdaQuery
(
CandyCoupon
.
class
)
.
eq
(
CandyCoupon:
:
getState
,
1
).
eq
(
CandyCoupon:
:
getCouponId
,
mgtCoupon
.
getCouponId
());
CandyCoupon
coupon
=
platformCandyCouponService
.
getOne
(
couponLambdaQueryWrapper
);
log
.
info
(
"发放券任务总数:{},任务{}开始处理[mcouponId:{},couType:{},bindType:{},eventAmt:{},eventType:{}]"
,
taskSize
,
i
,
mgtCoupon
.
getMcouponId
(),
coupon
.
getCouType
(),
coupon
.
getBindType
(),
mgtCoupon
.
getEventAmt
(),
mgtCoupon
.
getEventType
());
...
...
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