Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
consume
Project
Project
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
竹天卫
consume
Commits
7b5cb5d3
Commit
7b5cb5d3
authored
Aug 14, 2020
by
zhutianwei@hyzcservice.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码同步
parent
dd763388
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
SysCouponDetailMapper.xml
.../sc/consume/business/mapper/xml/SysCouponDetailMapper.xml
+2
-1
CMBOneNetPayService.java
...sc/consume/business/service/impl/CMBOneNetPayService.java
+1
-1
No files found.
consume-business/src/main/java/cn/wise/sc/consume/business/mapper/xml/SysCouponDetailMapper.xml
View file @
7b5cb5d3
...
...
@@ -9,7 +9,8 @@
from sys_coupon_detail scd
left join sys_user_coupon suc on suc.coupon_detail_id = scd.id
left join sys_coupon sc on sc.id = scd.coupon_id
where sc.enterprise_id = #{coridc} and sc.is_delete=1 and sc.status=1
left join sys_enterprise se on se.id = sc.enterprise_id
where se.coridc = #{coridc} and sc.is_delete=1 and sc.status=1
and scd.is_delete=1 and scd.is_receive=1
and suc.user_id=#{usridc} and suc.is_use=0
</select>
...
...
consume-business/src/main/java/cn/wise/sc/consume/business/service/impl/CMBOneNetPayService.java
View file @
7b5cb5d3
...
...
@@ -229,7 +229,7 @@ public class CMBOneNetPayService {
userCoupon
.
setCreateTime
(
LocalDateTime
.
now
());
userCouponService
.
save
(
userCoupon
);
couponDetail
.
setIsReceive
(
1
);
couponDetailService
.
save
(
couponDetail
);
couponDetailService
.
updateById
(
couponDetail
);
return
BaseResponse
.
ok
(
"成功"
);
}
catch
(
Exception
e
)
{
...
...
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