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 8592c08..d282224 100644 --- a/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml +++ b/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml @@ -299,10 +299,10 @@ #{type} - and b.use_date >= #{startDate} + and b.create_date >= #{startDate} - and b.use_date #{endDate} + and b.create_date #{endDate} @@ -388,7 +388,7 @@ and a.create_date #{endDate} - order by a.create_date desc, a.user_id desc + order by a.use_date desc, a.user_id desc limit #{currentPage},#{pageSize}