Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
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
996aaa91
Commit
996aaa91
authored
4 years ago
by
mengbali153
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠卷过滤
parent
25121169
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
SysCouponServiceImpl.java
...c/consume/business/service/impl/SysCouponServiceImpl.java
+5
-4
No files found.
consume-business/src/main/java/cn/wise/sc/consume/business/service/impl/SysCouponServiceImpl.java
View file @
996aaa91
...
...
@@ -70,11 +70,12 @@ public class SysCouponServiceImpl extends ServiceImpl<SysCouponMapper, SysCoupon
if
(
list
!=
null
){
for
(
CouponAppListVO
couponAppListVO:
list
){
Long
coupId
=
couponAppListVO
.
getId
();
List
<
SysCoupon
>
byCoupon
Id
=
sysCouponMapper
.
getById
(
coupId
);
// List<SysCoupon> by
Id = sysCouponMapper.getById(coupId);
for
(
SysCoupon
sysCoupon:
byCouponId
){
boolean
equals
=
sysCoupon
.
getStatus
()
==
1
;
boolean
equals1
=
sysCoupon
.
getIsDelete
()
==
1
;
List
<
SysCouponDetail
>
byCouponId
=
sysCouponDetailMapper
.
getByCouponId
(
coupId
);
for
(
SysCouponDetail
sysCouponDetail:
byCouponId
){
boolean
equals
=
sysCouponDetail
.
getIsReceive
()
==
0
;
boolean
equals1
=
sysCouponDetail
.
getIsDelete
()
==
1
;
if
((
equals
&&
equals1
)){
rts
.
add
(
couponAppListVO
);
}
...
...
This diff is collapsed.
Click to expand it.
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