diff --git a/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml b/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml index f56bc3122..de913c631 100644 --- a/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxBillAllMapper.xml @@ -835,7 +835,7 @@ 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_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 select receive_pay money,merchant_id id from wx_bill_rent_deposit where status = 3 union all