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
f5423e0f
Commit
f5423e0f
authored
Nov 21, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠列表状态查询sql修正
parent
a020535a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CouponMapper.java
...r/yudao/module/product/dal/mysql/coupon/CouponMapper.java
+3
-3
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 @
f5423e0f
...
...
@@ -306,7 +306,7 @@ public interface CouponMapper extends BaseMapperX<CouponDO> {
"<when test = 'reqVO.status != null'>"
,
"AND c.status = #{reqVO.status}"
,
"</when>"
,
"<when test='reqVO.statusList != null and reqVO.statusList.size()>0 and isIncludeExpiredStatus == false' >"
,
"<when test='reqVO.statusList != null and reqVO.statusList.size()>0 and
reqVO.
isIncludeExpiredStatus == false' >"
,
"<when test='reqVO.statusList.size()==1'>"
,
" AND c.`status` = "
,
" <foreach item='statusId' index='index' collection='reqVO.statusList' >"
,
...
...
@@ -320,7 +320,7 @@ public interface CouponMapper extends BaseMapperX<CouponDO> {
" </foreach>"
,
" </when>"
,
"</when>"
,
"<when test='reqVO.statusList != null and reqVO.statusList.size()>0 and isIncludeExpiredStatus == true' >"
,
"<when test='reqVO.statusList != null and reqVO.statusList.size()>0 and
reqVO.
isIncludeExpiredStatus == true' >"
,
"AND ( 1 != 1"
,
"<when test = 'reqVO.overdueStatus != null'>"
,
"or c.overdue_status = #{reqVO.overdueStatus}"
,
...
...
@@ -340,7 +340,7 @@ public interface CouponMapper extends BaseMapperX<CouponDO> {
" )"
,
"</when>"
,
"<when test = 'reqVO.overdueStatus != null and isIncludeExpiredStatus == false'>"
,
"<when test = 'reqVO.overdueStatus != null and
reqVO.
isIncludeExpiredStatus == false'>"
,
"AND c.overdue_status = #{reqVO.overdueStatus}"
,
"</when>"
,
"<when test = 'reqVO.putonStatus != null'>"
,
...
...
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