|
|
|
@@ -393,7 +393,7 @@ |
|
|
|
where m.id = cm.merchant_id and cm.product_id=co.coupon_id and cm.status = 0) else '[多商户通用]' end) as merchant_name, |
|
|
|
(case when com.mc = 1 then (select m.id from wx_merchant m, |
|
|
|
wx_coupon_merchant cm where m.id = cm.merchant_id and cm.product_id = co.coupon_id |
|
|
|
and cm.status = 0) else 0 end) as merchant_id |
|
|
|
and cm.status = 0) else 0 end) as merchant_id,(select phone from wx_c_user where id=co.c_user_id) phone |
|
|
|
</sql> |
|
|
|
|
|
|
|
<sql id="allAdminCouponOrderDetailColumns"> |
|
|
|
|