From df947d49140d63cdc7986c52785657b870eabac7 Mon Sep 17 00:00:00 2001 From: luozukai Date: Fri, 22 Mar 2019 17:23:47 +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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index 1331ff65e..0d56a2d0f 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -488,8 +488,8 @@ where wc.id = c.id) as sum_subsidy from wx_coupon c where c.type = 100 - - and c.title = concat('%', #{title},'%') + + and c.title like concat('%', #{title},'%') and c.id = #{id} @@ -514,8 +514,8 @@ and c.sale_price = 0 - - and c.title = concat('%', #{title},'%') + + and c.title like concat('%', #{title},'%') and c.id = #{id} @@ -555,8 +555,8 @@ and c.id = #{id} - - and c.title = concat('%', #{title},'%') + + and c.title like concat('%', #{title},'%') order by c.status asc,c.create_date desc