Commit 623f332b16564ef157b5c896cdd359cb24c3612d
1 parent
d745b2b7a6
Exists in
master
and in
6 other branches
优惠券统计的时间改为使用时间
Showing 1 changed file with 1 additions and 1 deletions
platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml
View file @
623f332
... | ... | @@ -569,7 +569,7 @@ |
569 | 569 | </select> |
570 | 570 | |
571 | 571 | <select id="doHospitalFilter" parameterType="map" resultType="string"> |
572 | - select a.id from organization a, hospital_coupon_template_group b | |
572 | + select DISTINCT(a.id) from organization a, hospital_coupon_template_group b | |
573 | 573 | where a.id = b.hospital_id and a.id in |
574 | 574 | <foreach collection="hospitalId" open="(" close=")" separator="," item="hid"> |
575 | 575 | #{hid} |