Commit 80ffa0b4063662683c557bb2815109029c8533a8

Authored by litao
1 parent 768d8e27a8
Exists in master and in 1 other branch dev

mapper bug修复

Showing 1 changed file with 2 additions and 2 deletions

platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml View file @ 80ffa0b
... ... @@ -340,7 +340,7 @@
340 340  
341 341 <select id="doHospitalFilter" parameterType="map" resultType="string">
342 342 select a.id from organization a, hospital_coupon_template_group b
343   - where a.id in
  343 + where a.id = b.hospital_id and a.id in
344 344 <foreach collection="hospitalId" open="(" close=")" separator="," item="hid">
345 345 #{hid}
346 346 </foreach>
... ... @@ -354,7 +354,7 @@
354 354 and a.area_id = #{areaId}
355 355 </if>
356 356 <if test="tempId != null and tempId != ''">
357   - and ab.coupon_template_group_id = #{tempId}
  357 + and b.coupon_template_group_id = #{tempId}
358 358 </if>
359 359 </select>
360 360