|
|
@@ -72,6 +72,11 @@ |
|
|
rent_shop_type,'[]' shop_info |
|
|
rent_shop_type,'[]' shop_info |
|
|
from wx_bill_daily where type=2 |
|
|
from wx_bill_daily where type=2 |
|
|
union |
|
|
union |
|
|
|
|
|
select id,merchant_id,shop_id,tenant_id,'空调费' name,9 bill_type_value,'空调费' bill_type,0 as |
|
|
|
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,'' starttime,'' endtime, |
|
|
|
|
|
rent_shop_type,'[]' shop_info |
|
|
|
|
|
from wx_bill_daily where type=3 |
|
|
|
|
|
union |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,'其他' bill_type,0 as |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,'其他' bill_type,0 as |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,'' starttime,'' endtime, |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,'' starttime,'' endtime, |
|
|
rent_shop_type,'[]' shop_info |
|
|
rent_shop_type,'[]' shop_info |
|
|
@@ -128,6 +133,10 @@ |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,rent_shop_type from wx_bill_daily where |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,rent_shop_type from wx_bill_daily where |
|
|
type=2 |
|
|
type=2 |
|
|
union |
|
|
union |
|
|
|
|
|
select id,merchant_id,shop_id,tenant_id,9 bill_type_value,'空调费' bill_type,0 as |
|
|
|
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,rent_shop_type from wx_bill_daily where |
|
|
|
|
|
type=3 |
|
|
|
|
|
union |
|
|
select id,merchant_id,shop_id,tenant_id,7 bill_type_value,'其他' bill_type,0 as |
|
|
select id,merchant_id,shop_id,tenant_id,7 bill_type_value,'其他' bill_type,0 as |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,rent_shop_type from wx_bill_other |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,rent_shop_type from wx_bill_other |
|
|
union |
|
|
union |
|
|
@@ -172,6 +181,10 @@ |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,rent_shop_type from wx_bill_daily where |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,rent_shop_type from wx_bill_daily where |
|
|
type=2 |
|
|
type=2 |
|
|
union |
|
|
union |
|
|
|
|
|
select id,merchant_id,shop_id,tenant_id,9 bill_type_value,'空调费' bill_type,0 as |
|
|
|
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,rent_shop_type from wx_bill_daily where |
|
|
|
|
|
type=3 |
|
|
|
|
|
union |
|
|
select id,merchant_id,shop_id,tenant_id,7 bill_type_value,'其他' bill_type,0 as |
|
|
select id,merchant_id,shop_id,tenant_id,7 bill_type_value,'其他' bill_type,0 as |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,rent_shop_type from wx_bill_other |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,rent_shop_type from wx_bill_other |
|
|
union |
|
|
union |
|
|
@@ -224,6 +237,10 @@ |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
from wx_bill_daily where type=2 |
|
|
from wx_bill_daily where type=2 |
|
|
union |
|
|
union |
|
|
|
|
|
select id,merchant_id,shop_id,tenant_id,'空调费' name,9 bill_type_value,'空调费' bill_type,0 as |
|
|
|
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
|
|
|
from wx_bill_daily where type=3 |
|
|
|
|
|
union |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_vaue,'其他' bill_type,0 as |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_vaue,'其他' bill_type,0 as |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
need_pay,receive_pay,pay,owe,receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
from wx_bill_other |
|
|
from wx_bill_other |
|
|
@@ -301,6 +318,10 @@ |
|
|
select id,merchant_id,shop_id,tenant_id,'电费' name,6 bill_type_value,'电费' bill_type,0 as |
|
|
select id,merchant_id,shop_id,tenant_id,'电费' name,6 bill_type_value,'电费' bill_type,0 as |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
from wx_bill_daily where type=2 |
|
|
from wx_bill_daily where type=2 |
|
|
|
|
|
union |
|
|
|
|
|
select id,merchant_id,shop_id,tenant_id,'空调费' name,9 bill_type_value,'空调费' bill_type,0 as |
|
|
|
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
|
|
|
from wx_bill_daily where type=3 |
|
|
union |
|
|
union |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,'其他' bill_type,0 as |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,'其他' bill_type,0 as |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
@@ -345,6 +366,10 @@ |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
from wx_bill_daily where type=2 |
|
|
from wx_bill_daily where type=2 |
|
|
union |
|
|
union |
|
|
|
|
|
select id,merchant_id,shop_id,tenant_id,'空调费' name,9 bill_type_value,'空调费' bill_type,0 as |
|
|
|
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
|
|
|
from wx_bill_daily where type=3 |
|
|
|
|
|
union |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,'其他' bill_type,0 as |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,'其他' bill_type,0 as |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
from wx_bill_other |
|
|
from wx_bill_other |
|
|
@@ -388,6 +413,10 @@ |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
from wx_bill_daily where type=2 |
|
|
from wx_bill_daily where type=2 |
|
|
union |
|
|
union |
|
|
|
|
|
select id,merchant_id,shop_id,tenant_id,'空调费' name,9 bill_type_value,'空调费' bill_type,0 as |
|
|
|
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
|
|
|
from wx_bill_daily where type=3 |
|
|
|
|
|
union |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,'其他' bill_type,0 as |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,'其他' bill_type,0 as |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
from wx_bill_other |
|
|
from wx_bill_other |
|
|
@@ -434,6 +463,10 @@ |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
from wx_bill_daily where type=2 |
|
|
from wx_bill_daily where type=2 |
|
|
union |
|
|
union |
|
|
|
|
|
select id,merchant_id,shop_id,tenant_id,'空调费' name,9 bill_type_value,'空调费' bill_type,0 as |
|
|
|
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
|
|
|
from wx_bill_daily where type=3 |
|
|
|
|
|
union |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,'其他' bill_type,0 as |
|
|
select id,merchant_id,shop_id,tenant_id,name,7 bill_type_value,'其他' bill_type,0 as |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
need_pay,receive_pay,pay,owe,DATE_FORMAT(receive_date,'%Y-%m-%d') receive_date,pay_date,expired_day,status,'' starttime,'' endtime,rent_shop_type |
|
|
from wx_bill_other |
|
|
from wx_bill_other |
|
|
|