Commit 6de9cc890d501a3e546f7ebb05fc19ac5367f2b7
1 parent
0dfcdabe66
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 @
6de9cc8
... | ... | @@ -533,7 +533,7 @@ |
533 | 533 | </select> |
534 | 534 | |
535 | 535 | <select id="findUnUsed" parameterType="map" resultType="map"> |
536 | - select count(distinct(user_id)) as un_used_people, count(1) as un_used_coupon_count, b.province_id, b.city_id, b.area_id, b.name as hospitalName, a.create_hospital_id | |
536 | + select count(distinct(user_id)) as un_used_people, count(1) as un_used_coupon_count, b.province_id, b.city_id, b.area_id, b.name as hospitalName, a.create_hospital_id as hospitalId | |
537 | 537 | from coupon_info a, organization b |
538 | 538 | where a.create_hospital_id = b.id and a.status = 1 and a.create_hospital_id in |
539 | 539 | <foreach collection="hospitalIds" open="(" close=")" separator="," item="hid"> |