Переглянути джерело

[租赁及物业押金][修改][查询]

release_toaliyun_real
gongbiao 7 роки тому
джерело
коміт
46427a0229
2 змінених файлів з 2 додано та 2 видалено
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml
  2. +1
    -1
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxBillPropertyMapper.xml Переглянути файл

@@ -78,7 +78,7 @@
br.`need_pay` needPay,m.`name` merchantName,s.shop_number shopNumber,br.`updatetime`,
br.`merchant_id` merchantId,br.`rent_shop_type` rentShopType,br.`period`,
br.`revenue`,br.`late_pay_ratio` latePayRatio,br.`late_pay_time` latePayTime,
case when br.late_pay_time is null then 0 else
d.receive_pay deposit,case when br.late_pay_time is null then 0 else
FLOOR(DATEDIFF(now(),br.late_pay_time)*br.late_pay_ratio/10000*br.owe) end latePayPrice,
(select max(period) from wx_bill_property where id=br.id) allPeriod,d.`status` depositStatus
from wx_bill_property br left join wx_merchant m on br.merchant_id=m.id


+ 1
- 1
mallinkService/src/main/resources/mapper/WxBillRentMapper.xml Переглянути файл

@@ -79,7 +79,7 @@
br.`need_pay` needPay,m.`name` merchantName,s.shop_number shopNumber,br.`updatetime`,
br.`merchant_id` merchantId,br.`rent_shop_type` rentShopType,r.type rentType,r.pay_ratio payRatio,
br.`revenue`,br.`late_pay_ratio` latePayRatio,br.`late_pay_time` latePayTime,br.`period`,
case when br.late_pay_time is null then 0 else
d.receive_pay deposit,case when br.late_pay_time is null then 0 else
FLOOR(DATEDIFF(now(),br.late_pay_time)*br.late_pay_ratio/10000*br.owe) end latePayPrice,
(select max(period) from wx_bill_rent where id=br.id) allPeriod,d.`status` depositStatus
from wx_bill_rent br left join wx_merchant m on br.merchant_id=m.id


Завантаження…
Відмінити
Зберегти