From 21fd88cc96b9bfc0f2387341542386f4012eabee Mon Sep 17 00:00:00 2001 From: hupeng Date: Mon, 3 Dec 2018 18:32:29 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=B3=BB=E7=BB=9F][=E4=BF=AE=E5=A4=8D]:Coupon?= =?UTF-8?q?Channel=E4=B8=9A=E6=80=81=E7=B1=BB=E5=9E=8B=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/WxCouponChannelMapper.xml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml index 749ab7ec5..450e2e073 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponChannelMapper.xml @@ -9,7 +9,7 @@ - + @@ -53,11 +53,8 @@ and `target_ad` = #{targetAd} - - and JSON_CONTAINS(`business`->'$',JSON_ARRAY('0')) - - - and (JSON_CONTAINS(`business`->'$',JSON_ARRAY('0')) or (JSON_CONTAINS(`business`->'$',JSON_ARRAY(#{business})))) + + and `business` = #{business} @@ -164,11 +161,8 @@ and `target_ad` = #{targetAd} - - and JSON_CONTAINS(`business`->'$',JSON_ARRAY('0')) - - - and (JSON_CONTAINS(`business`->'$',JSON_ARRAY('0')) or (JSON_CONTAINS(`business`->'$',JSON_ARRAY(#{business})))) + + and `business` = #{business}