From 587da4cab01b76e1283cf2d4f48aea593e633cc7 Mon Sep 17 00:00:00 2001 From: xhxu Date: Wed, 12 Jan 2022 23:40:57 +0800 Subject: [PATCH] =?UTF-8?q?/=E3=80=81send?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/WxCouponSendMapper.xml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml b/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml index 62f936dd0..696183dbe 100644 --- a/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxCouponSendMapper.xml @@ -33,13 +33,6 @@ cs.conditions -> '$.merchantSend' as merchantSend, cs.conditions -> '$.merchantLnventory' as merchantLnventory, cs.conditions -> '$.merchantRemain' as merchantRemain, - (case when - (select count(*) from wx_coupon_merchant xcm where xcm.product_id = cs.coupon_id and xcm.status = 0)=1 - then - (select m.name from wx_merchant m, wx_coupon_merchant cm where m.id = cm.merchant_id and cm.product_id=cs.coupon_id and cm.status = 0) - else - '[多商户通用]' - end) as merchant_name, c.remain_inventory, c.use_limit_rule,c.use_limit_quantity, c.inventory, c.valid_start_date, c.valid_end_date,c.valid_type,cs.send_sms,c.valid_days