Browse Source

fix

release_toaliyun_real
winter 1 year ago
parent
commit
63446cae22
2 changed files with 2 additions and 1 deletions
  1. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java
  2. +2
    -0
      mallinkService/src/main/resources/mapper/WxAllBillMapper.xml

+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java View File

@@ -361,7 +361,6 @@ public class WxRentContractServiceImpl implements WxRentContractService {
//查询预账单用于展示
WxAllBill wxBillRent = new WxAllBill();
wxBillRent.setRentContractId(id);
wxBillRent.setSortColumns("starttime asc");
wxBillRent.updateTenantInfo(wxRentContract);
wxBillRent.setBillType(EnumBillAllType.RENT.getCode());
List<WxAllBill> resultList = wxAllBillMapper.findContractSamePeriodSum(wxBillRent);


+ 2
- 0
mallinkService/src/main/resources/mapper/WxAllBillMapper.xml View File

@@ -228,6 +228,8 @@
sum(CAST(ifnull(set_off,'0') AS DECIMAL(20,2))) set_off,
sum(CAST(ifnull(use_money,'0') AS DECIMAL(20,2))) use_money,
sum(CAST(ifnull(return_pay,'0') AS DECIMAL(20,2))) return_pay,
sum(CAST(ifnull(bussiness_manage_fee_need_pay,'0') AS DECIMAL(20,2))) bussiness_manage_fee_need_pay,
sum(CAST(ifnull(operating_manage_fee_need_pay,'0') AS DECIMAL(20,2))) operating_manage_fee_need_pay,
starttime,
endtime
from wx_all_bill


Loading…
Cancel
Save