|
|
@@ -835,7 +835,7 @@ |
|
|
left join wx_merchant mm on mm.id = ms.merchant_id |
|
|
left join wx_merchant mm on mm.id = ms.merchant_id |
|
|
left join wx_card_spend cs on cs.order_id = ms.order_id |
|
|
left join wx_card_spend cs on cs.order_id = ms.order_id |
|
|
left join wx_c_user cu on cu.id = cs.owner_id |
|
|
left join wx_c_user cu on cu.id = cs.owner_id |
|
|
where ms.order_type in(3,0) and ms.status = 0 |
|
|
|
|
|
|
|
|
where ms.status = 0 |
|
|
union all |
|
|
union all |
|
|
select receive_pay money,merchant_id id from wx_bill_rent_deposit where status = 3 |
|
|
select receive_pay money,merchant_id id from wx_bill_rent_deposit where status = 3 |
|
|
union all |
|
|
union all |
|
|
|