Browse Source

fix

release_toaliyun_real
winter 1 year ago
parent
commit
7560b25945
1 changed files with 5 additions and 7 deletions
  1. +5
    -7
      mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java

+ 5
- 7
mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java View File

@@ -714,6 +714,8 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService
}
}
Date firstBillStartDate = null;
Date firstBillEndDate = null;
if (null != billTimeVoList && billTimeVoList.size() > 0 ) {
BillTimeVo firstBillTime = billTimeVoList.get(0);
WxPropertyContract cupdate = new WxPropertyContract();
@@ -723,17 +725,13 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService
cupdate.setFirstBillDateEnd(firstBillTime.getEndDate());
cupdate.setDecimalSize(null);//去掉默认的,避免更新
wxPropertyContractMapper.updateById(cupdate);
firstBillStartDate = firstBillTime.getStartDate();
firstBillEndDate = firstBillTime.getEndDate();
}
//结算其他金额
Date billStartDate = null;
Date billEndDate = null;
if (billTimeVoList.size() > 0 ) {
billStartDate = billTimeVoList.get(0).getStartDate();
billEndDate = billTimeVoList.get(billTimeVoList.size()-1).getEndDate();
}
//一次性费用的,只有一个账单。
List<WxBillFeesStandardsListVo> fixedList = WxRentContractHelper.getStandardsBillList(wxPropertyContract.getDecimalSize(),wxPropertyContract.getFeesStardarsList(),billStartDate,billEndDate,true,wxPropertyContract.getRentArea());
List<WxBillFeesStandardsListVo> fixedList = WxRentContractHelper.getStandardsBillList(wxPropertyContract.getDecimalSize(),wxPropertyContract.getFeesStardarsList(),firstBillStartDate,firstBillEndDate,true,wxPropertyContract.getRentArea());

int index = 0;


Loading…
Cancel
Save