|
|
@@ -71,8 +71,8 @@ |
|
|
select id,merchant_id,shop_id,tenant_id,case when type=1 then '水费' when type=2 then '电费' else '空调费' end name, |
|
|
select id,merchant_id,shop_id,tenant_id,case when type=1 then '水费' when type=2 then '电费' else '空调费' end name, |
|
|
case when type=1 then 5 when type=2 then 6 else 9 end bill_type_value, |
|
|
case when type=1 then 5 when type=2 then 6 else 9 end bill_type_value, |
|
|
case when type=1 then '水费' when type=2 then '电费' else '空调费' end bill_type,0 as |
|
|
case when type=1 then '水费' when type=2 then '电费' else '空调费' end bill_type,0 as |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,'' starttime,'' endtime, |
|
|
|
|
|
rent_shop_type,'[]' shop_info,NULL comments |
|
|
|
|
|
|
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,starttime,endtime, |
|
|
|
|
|
rent_shop_type,'[]' shop_info,price_detail as comments |
|
|
from wx_bill_daily where tenant_id=#{tenantId} |
|
|
from wx_bill_daily where tenant_id=#{tenantId} |
|
|
union all |
|
|
union all |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,concat('其他费用-',name) as bill_type,0 as |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,concat('其他费用-',name) as bill_type,0 as |
|
|
|