Browse Source

[租赁账单][修改][查询]

release_toaliyun_real
gongbiao 7 years ago
parent
commit
810a1714c2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/WxBillRentMapper.xml View File

@@ -80,7 +80,7 @@
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
FLOOR(DATEDIFF(now(),br.late_pay_time)*br.late_pay_ratio/10000*br.owe) end latePayPrice
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
left join wx_shop s on br.shop_id=s.id


Loading…
Cancel
Save