Commit 9da5f17ab04ee41da3f625fa9438a83acc197aeb
1 parent
fbd02b5342
Exists in
master
and in
1 other branch
优惠券报表
Showing 1 changed file with 1 additions and 1 deletions
platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml
View file @
9da5f17
... | ... | @@ -223,7 +223,7 @@ |
223 | 223 | </select> |
224 | 224 | |
225 | 225 | <select id="findCouponInfo" parameterType="map" resultType="map"> |
226 | - select c.type, a.sequence_id, d.name | |
226 | + select c.type, a.sequence_id, d.name, e.name as send_hospital | |
227 | 227 | from coupon_info a, coupon_template b, coupon_type c, users d, organization e, hospital_coupon_template_group f |
228 | 228 | where a.coupon_template_id = b.id and b.type_id = c.id and a.user_id = d.id and a.status=2 and a.create_hospital_id = e.id |
229 | 229 | and a.used_hospital_id = #{hospitalId} and f.hospital_id = a.used_hospital_id and c.type in |