Quellcode durchsuchen

[BUG][修复]:多商户通用券中一个商户被禁用时查询问题

release_toaliyun_real
hupeng vor 7 Jahren
Ursprung
Commit
937ea7a186
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxCouponOrderMapper.xml Datei anzeigen

@@ -297,7 +297,7 @@
c.title,c.sale_price,c.use_price,c.price,c.unit, c.title,c.sale_price,c.use_price,c.price,c.unit,
(case when com.mc=1 then (case when com.mc=1 then
(select m.name from wx_merchant m, wx_coupon_merchant cm (select m.name from wx_merchant m, wx_coupon_merchant cm
where m.id = cm.merchant_id and cm.product_id=co.coupon_id and m.status = 1) else '[多商户通用]' end) as merchant_name
where m.id = cm.merchant_id and cm.product_id=co.coupon_id and cm.status = 0) else '[多商户通用]' end) as merchant_name
</sql> </sql>


<sql id="allAdminCouponOrderDetailColumns"> <sql id="allAdminCouponOrderDetailColumns">
@@ -335,7 +335,7 @@
(select m.name from wx_merchant m, wx_coupon_merchant cm (select m.name from wx_merchant m, wx_coupon_merchant cm
where m.id = cm.merchant_id where m.id = cm.merchant_id
and cm.product_id=co.coupon_id and cm.product_id=co.coupon_id
and m.status = 1)
and cm.status = 0)
else'[多商户通用]' end) else'[多商户通用]' end)
like concat('%', #{merchantName},'%') like concat('%', #{merchantName},'%')
</if> </if>


Laden…
Abbrechen
Speichern