diff --git a/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml b/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml index c598fcf..8592c08 100644 --- a/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml +++ b/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml @@ -383,12 +383,12 @@ and b.coupon_order = #{coupon_order} - and a.use_date >= #{startDate} + and a.create_date >= #{startDate} - and a.use_date #{endDate} + and a.create_date #{endDate} - order by a.use_date desc, a.user_id desc + order by a.create_date desc, a.user_id desc limit #{currentPage},#{pageSize} @@ -714,10 +714,10 @@ #{type} - and a.use_date_date >= #{startDate} + and a.create_date >= #{startDate} - and a.use_date #{endDate} + and a.create_date #{endDate} ) a left join users b on a.create_user_id = b.id order by a.create_date desc