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