From 4ada8d24c7300e2cf11635c97b6dd9e427fcad47 Mon Sep 17 00:00:00 2001 From: luozukai Date: Fri, 22 Mar 2019 16:05:29 +0800 Subject: [PATCH] =?UTF-8?q?[=E8=90=A5=E9=94=80=E5=88=86=E6=9E=90][?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0][=E5=8D=A1=E8=90=A5=E9=94=80=E5=88=97?= =?UTF-8?q?=E8=A1=A8]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxCouponMapper.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index 5ce83afd3..95cebe1be 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -749,6 +749,9 @@ and c.title = concat('%', #{title},'%') + + and c.id = #{id} + order by c.status asc,c.create_date desc @@ -772,6 +775,9 @@ and c.title = concat('%', #{title},'%') + + and c.id = #{id} + order by c.status asc,c.create_date desc @@ -804,6 +810,9 @@ *100,2) as payment_rate from wx_coupon c where c.type = 8 + + and c.id = #{id} + and c.title = concat('%', #{title},'%')