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}