Commit d7eaabc471b9f220451b49563797b771004153b7

Authored by litao@lymsh.com
1 parent 2917dd5ab0

改bug

Showing 1 changed file with 0 additions and 2 deletions

platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml View file @ d7eaabc
... ... @@ -262,11 +262,9 @@
262 262 ) b
263 263 where a.used_hospital_id = b.hospital_id and a.coupon_template_id = b.id and a.status = 2
264 264 <if test="startDate != null">
265   --- and a.use_date >= #{startDate}
266 265 and a.create_date >= #{startDate}
267 266 </if>
268 267 <if test="endDate != null">
269   --- and a.use_date <![CDATA[ < ]]> #{endDate}
270 268 and a.create_date <![CDATA[ < ]]> #{endDate}
271 269 </if>
272 270 group by b.coupon_order, b.type, a.used_hospital_id