Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
62f240ff
Commit
62f240ff
authored
Nov 22, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠列表查询,已过期优惠活动的只限定筛选已投放的优惠活动
parent
1333e8cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CouponMapper.java
...r/yudao/module/product/dal/mysql/coupon/CouponMapper.java
+2
-2
No files found.
yudao-module-product/yudao-module-product-core/src/main/java/cn/iocoder/yudao/module/product/dal/mysql/coupon/CouponMapper.java
View file @
62f240ff
...
@@ -323,7 +323,7 @@ public interface CouponMapper extends BaseMapperX<CouponDO> {
...
@@ -323,7 +323,7 @@ public interface CouponMapper extends BaseMapperX<CouponDO> {
"<when test='reqVO.statusList != null and reqVO.statusList.size()>0 and reqVO.isIncludeExpiredStatus == true' >"
,
"<when test='reqVO.statusList != null and reqVO.statusList.size()>0 and reqVO.isIncludeExpiredStatus == true' >"
,
"AND ( 1 != 1"
,
"AND ( 1 != 1"
,
"<when test = 'reqVO.overdueStatus != null'>"
,
"<when test = 'reqVO.overdueStatus != null'>"
,
"or
c.overdue_status = #{reqVO.overdueStatus}
"
,
"or
(c.overdue_status = #{reqVO.overdueStatus} and c.`puton_status` = 1)
"
,
"</when>"
,
"</when>"
,
"<when test='reqVO.statusList.size()==1'>"
,
"<when test='reqVO.statusList.size()==1'>"
,
" or c.`status` = "
,
" or c.`status` = "
,
...
@@ -341,7 +341,7 @@ public interface CouponMapper extends BaseMapperX<CouponDO> {
...
@@ -341,7 +341,7 @@ public interface CouponMapper extends BaseMapperX<CouponDO> {
"</when>"
,
"</when>"
,
"<when test = 'reqVO.overdueStatus != null and reqVO.isIncludeExpiredStatus == false'>"
,
"<when test = 'reqVO.overdueStatus != null and reqVO.isIncludeExpiredStatus == false'>"
,
"AND c.overdue_status = #{reqVO.overdueStatus}"
,
"AND c.overdue_status = #{reqVO.overdueStatus}
and c.`puton_status` = 1
"
,
"</when>"
,
"</when>"
,
"<when test = 'reqVO.putonStatus != null'>"
,
"<when test = 'reqVO.putonStatus != null'>"
,
"AND c.puton_status = #{reqVO.putonStatus}"
,
"AND c.puton_status = #{reqVO.putonStatus}"
,
...
...
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