diff --git a/mallinkService/src/main/java/com/simple/domain/po/WxCouponActionLog.java b/mallinkService/src/main/java/com/simple/domain/po/WxCouponActionLog.java index 19cb885a0..837a757ad 100644 --- a/mallinkService/src/main/java/com/simple/domain/po/WxCouponActionLog.java +++ b/mallinkService/src/main/java/com/simple/domain/po/WxCouponActionLog.java @@ -19,6 +19,12 @@ public class WxCouponActionLog implements Serializable { protected List ids; @Transient protected String sortColumns; + @Transient + protected Date startTime; + + + @Transient + protected Date endTime; public Long getId() { return id; @@ -40,6 +46,22 @@ public class WxCouponActionLog implements Serializable { this.ids = ids; } + public Date getStartTime() { + return startTime; + } + + public void setStartTime(Date startTime) { + this.startTime = startTime; + } + + public Date getEndTime() { + return endTime; + } + + public void setEndTime(Date endTime) { + this.endTime = endTime; + } + /*租户ID**/ diff --git a/mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml index 19f6d2946..2ce37552e 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponActionLogMapper.xml @@ -49,9 +49,15 @@ - and `createtime` = #{createtime} - - + and `createtime` = #{createtime} + + + and `createtime` >= #{startTime} + + + and `createtime` <= #{endTime} + + and id in