From d745b2b7a6acdca77038e6febbcdb629b135094b Mon Sep 17 00:00:00 2001 From: "litao@lymsh.com" Date: Tue, 9 Jan 2018 10:47:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E9=97=B4=E6=94=B9=E4=B8=BA=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mainOrm/master/CouponMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml b/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml index 51bf8ca..a57b1e4 100644 --- a/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml +++ b/platform-biz-service/src/main/resources/mainOrm/master/CouponMapper.xml @@ -286,10 +286,10 @@ ) b where a.used_hospital_id = b.hospital_id and a.coupon_template_id = b.id and a.status = 2 - and a.create_date >= #{startDate} + and a.use_date >= #{startDate} - and a.create_date #{endDate} + and a.use_date #{endDate} group by b.coupon_order, b.type, a.used_hospital_id -- 1.8.3.1