Commit b0c4103f by guojuxing

微盟卡券关联列表接口修改:添加绑定时间的查询

parent ff2671fa
......@@ -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;
}
}
......@@ -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') &gt;= #{startTime}
</if>
<if test="endTime != null and endTime != '' ">
and DATE_FORMAT(create_time,'%Y-%m-%d') &lt;= #{endTime}
</if>
<if test="wmCouponId != null and wmCouponId != '' ">
and wm_coupon_id = #{wmCouponId}
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment