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 8eeaec0..b05cfb7 100644 --- a/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml +++ b/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml @@ -982,7 +982,7 @@ and c.use_date >= #{startDate} - and c.use_date #{endDate} + and c.use_date #{endDate} GROUP BY user_id having count(1) >= (select count(1) from hospital_coupon_template_group h,coupon_template t ,coupon_type p