Przeglądaj źródła

[结算管理][修改][押金]

release_toaliyun_real
gongbiao 6 lat temu
rodzic
commit
78c1f97f28
1 zmienionych plików z 4 dodań i 3 usunięć
  1. +4
    -3
      mallinkService/src/main/resources/mapper/WxBillAllMapper.xml

+ 4
- 3
mallinkService/src/main/resources/mapper/WxBillAllMapper.xml Wyświetl plik

@@ -915,19 +915,20 @@
select bill.*
from (
select id,merchant_id,shop_id,tenant_id,'租赁押金' name,2 billTypeValue,'租赁押金','租赁押金'
billType,need_pay,receive_pay,pay,owe,receive_date receiveDate,pay_date,expired_day,status,freeze,0
billType,need_pay,receive_pay receivePay,pay,owe,receive_date receiveDate,pay_date,expired_day,status,freeze,0
late_pay_price,0
service_charge_pay
from wx_bill_rent_deposit where tenant_id=#{tenantId}
union all
select id,merchant_id,shop_id,tenant_id,'物业押金' name,4 billTypeValue,'物业押金'
billType,need_pay,receive_pay,pay,owe,receive_date receiveDate,pay_date,expired_day,status,freeze,0
billType,need_pay,receive_pay receivePay,pay,owe,receive_date receiveDate,pay_date,expired_day,status,freeze,0
late_pay_price,0
service_charge_pay
from wx_bill_property_deposit where tenant_id=#{tenantId}
union all
select id,merchant_id,shop_id,tenant_id,comments as name,8 billTypeValue,concat('其他押金-',comments) as
billType,0 as need_pay,receive_pay,pay,owe,receive_date receiveDate,pay_date,expired_day,status,freeze,0
billType,0 as need_pay,receive_pay receivePay,pay,owe,receive_date
receiveDate,pay_date,expired_day,status,freeze,0
late_pay_price,service_charge_pay
from wx_bill_other_deposit where tenant_id=#{tenantId}
) bill


Ładowanie…
Anuluj
Zapisz