diff --git a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml index 663078287..71225bccc 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponMapper.xml @@ -288,7 +288,7 @@ - and JSON_CONTAINS(gift_list,#{giftList}) + and JSON_CONTAINS(gift_list,json_array(#{giftList})) @@ -565,7 +565,7 @@ --> - and JSON_CONTAINS(c.gift_list,#{giftList}) + and JSON_CONTAINS(c.gift_list,json_array(#{giftList}))