|
|
|
@@ -28,7 +28,7 @@ |
|
|
|
(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) |
|
|
|
(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, |
|
|
|
|