记得上下班打卡 | 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
b1aa25ef
Commit
b1aa25ef
authored
Sep 22, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+用户端领取券去除mcoupon_id标记;
parent
917a6321
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CandyCouponServiceImpl.java
...et/service/candy/service/impl/CandyCouponServiceImpl.java
+1
-1
sqlmap.properties
...t-service-candy-impl/src/main/resources/sqlmap.properties
+1
-1
No files found.
liquidnet-bus-service/liquidnet-service-candy/liquidnet-service-candy-impl/src/main/java/com/liquidnet/service/candy/service/impl/CandyCouponServiceImpl.java
View file @
b1aa25ef
...
...
@@ -411,7 +411,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
LinkedList
<
Object
[]>
objsUserCoupon
=
CollectionUtil
.
linkedListObjectArr
(),
objsCouponCode
=
CollectionUtil
.
linkedListObjectArr
();
toMqSqls
.
add
(
SqlMapping
.
get
(
"candy_coupon.receive"
));
objsUserCoupon
.
add
(
new
Object
[]{
uCouponId
,
uid
,
1
,
infoDto
.
getCouponId
(),
ccode
,
now
,
now
,
infoDto
.
getExpireAt
()
,
uid
});
objsUserCoupon
.
add
(
new
Object
[]{
uCouponId
,
uid
,
1
,
infoDto
.
getCouponId
(),
ccode
,
now
,
now
,
infoDto
.
getExpireAt
()});
toMqSqls
.
add
(
SqlMapping
.
get
(
"candy_coupon_code.receive"
));
objsCouponCode
.
add
(
new
Object
[]{
uid
,
mobile
,
now
,
now
,
dto
.
getCouponId
(),
ccode
});
queueUtils
.
sendMsgByRedis
(
...
...
liquidnet-bus-service/liquidnet-service-candy/liquidnet-service-candy-impl/src/main/resources/sqlmap.properties
View file @
b1aa25ef
...
...
@@ -5,5 +5,5 @@ candy_coupon.use_insert=INSERT INTO candy_user_coupon (ucoupon_id , uid , state
# -- 回退券 --
candy_coupon.back
=
UPDATE candy_user_coupon SET state = 1 WHERE uid = ? AND ucoupon_id = ?
# -- 领取券 --
candy_coupon.receive
=
INSERT INTO candy_user_coupon (ucoupon_id , uid , state , coupon_id , ccode , bind_at , created_at , dued_at
, mcoupon_id) VALUE ( ? , ? , ? , ? , ? , ? , ? , ? ,
?)
candy_coupon.receive
=
INSERT INTO candy_user_coupon (ucoupon_id , uid , state , coupon_id , ccode , bind_at , created_at , dued_at
) VALUE ( ? , ? , ? , ? , ? , ? , ? ,
?)
candy_coupon_code.receive
=
UPDATE candy_coupon_code SET redeem_uid=?,redeem_mobile=?,redeem_at=?,updated_at=? WHERE coupon_id=? AND ccode=?
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