|
|
@@ -121,11 +121,11 @@ public interface FsStoreCouponIssueScrmMapper
|
|
|
"<if test = 'maps.couponName != null and maps.couponName !=\"\" '> " +
|
|
|
"and i.coupon_name like CONCAT('%',#{maps.couponName},'%') " +
|
|
|
"</if>" +
|
|
|
- "<if test = 'maps.beginTime != null and maps.beginTime != \"\" '> " +
|
|
|
- "and date_format(i.create_time,'%y%m%d') >= date_format(#{maps.beginTime},'%y%m%d') " +
|
|
|
+ "<if test = 'maps.params.beginTime != null and maps.params.beginTime != \"\" '> " +
|
|
|
+ "and date_format(i.create_time,'%y%m%d') >= date_format(#{maps.params.beginTime},'%y%m%d') " +
|
|
|
"</if>" +
|
|
|
- "<if test = 'maps.endTime != null and maps.endTime != \"\" '> " +
|
|
|
- "and date_format(i.create_time,'%y%m%d') <= date_format(#{maps.endTime},'%y%m%d') " +
|
|
|
+ "<if test = 'maps.params.endTime != null and maps.params.endTime != \"\" '> " +
|
|
|
+ "and date_format(i.create_time,'%y%m%d') <= date_format(#{maps.params.endTime},'%y%m%d') " +
|
|
|
"</if>" +
|
|
|
" order by c.coupon_price "+
|
|
|
"</script>"})
|