|
|
|
@@ -229,7 +229,7 @@ |
|
|
|
rentShopType from ( |
|
|
|
select id,merchant_id,shop_id,tenant_id,'租金' name,1 bill_type_value,'租金' |
|
|
|
bill_type,need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,starttime,endtime,rent_shop_type |
|
|
|
from wx_bill_rent where is_preview = 0 and tenant_id=#{tenantId}and rent_contract_id in (select id from |
|
|
|
from wx_bill_rent where is_preview = 0 and tenant_id=#{tenantId} and rent_contract_id in (select id from |
|
|
|
wx_rent_contract where status in |
|
|
|
(2,3,4)) |
|
|
|
union all |
|
|
|
|