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 4b82700..8eeaec0 100644
--- a/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml
+++ b/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml
@@ -977,6 +977,13 @@
and h.hospital_id = #{hid}
and p.type=2) t on c.coupon_template_id = t.id
where create_hospital_id= #{hid} and status =2 and used_id is not null
+
+
+ and c.use_date >= #{startDate}
+
+
+ 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
where h.coupon_template_group_id=t.group_id and t.type_id=p.id