Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
Overview
Overview
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
base_platform_enterprise
gic-platform-enterprise
Commits
b0c4103f
Commit
b0c4103f
authored
May 12, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微盟卡券关联列表接口修改:添加绑定时间的查询
parent
ff2671fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
CouponConfigQO.java
...rc/main/java/com/gic/enterprise/qo/wm/CouponConfigQO.java
+28
-0
TabWmStoreCouponConfigMapper.xml
...rc/main/resources/mapper/TabWmStoreCouponConfigMapper.xml
+6
-0
No files found.
gic-platform-enterprise-api/src/main/java/com/gic/enterprise/qo/wm/CouponConfigQO.java
View file @
b0c4103f
...
...
@@ -43,6 +43,16 @@ public class CouponConfigQO extends PageQO implements Serializable{
*/
private
Integer
orderByCode
;
/**
* 绑定开始时间 2020-05-12
*/
private
String
startTime
;
/**
* 绑定时间
*/
private
String
endTime
;
public
Integer
getWmMallStoreId
()
{
return
wmMallStoreId
;
}
...
...
@@ -96,4 +106,22 @@ public class CouponConfigQO extends PageQO implements Serializable{
this
.
orderByCode
=
orderByCode
;
return
this
;
}
public
String
getStartTime
()
{
return
startTime
;
}
public
CouponConfigQO
setStartTime
(
String
startTime
)
{
this
.
startTime
=
startTime
;
return
this
;
}
public
String
getEndTime
()
{
return
endTime
;
}
public
CouponConfigQO
setEndTime
(
String
endTime
)
{
this
.
endTime
=
endTime
;
return
this
;
}
}
gic-platform-enterprise-service/src/main/resources/mapper/TabWmStoreCouponConfigMapper.xml
View file @
b0c4103f
...
...
@@ -174,6 +174,12 @@
<if
test=
"gicCouponId != null and gicCouponId != '' "
>
and gic_coupon_id = #{gicCouponId}
</if>
<if
test=
"startTime != null and startTime != '' "
>
and DATE_FORMAT(create_time,'%Y-%m-%d')
>
= #{startTime}
</if>
<if
test=
"endTime != null and endTime != '' "
>
and DATE_FORMAT(create_time,'%Y-%m-%d')
<
= #{endTime}
</if>
<if
test=
"wmCouponId != null and wmCouponId != '' "
>
and wm_coupon_id = #{wmCouponId}
</if>
...
...
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