Browse Source

fix bug

release_toaliyun_real
zhengfangyuan 3 years ago
parent
commit
0274f4f001
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

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

@@ -682,6 +682,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {
List<WxBillRentManage> billList = new ArrayList<WxBillRentManage>();
for (WxBillRent _bi:record.getPreviewBillRentList()) {
WxBillRentManage bill = new WxBillRentManage();
bill.initByBillRent(_bi);
bill.setId(idWorker.nextId());
Date date = new Date();
bill.setRentContractId(record.getId());
@@ -690,8 +691,10 @@ public class WxRentContractServiceImpl implements WxRentContractService {
bill.setManageFeeType(feeType.getCode());
if (feeType.getCode() == EnumRentContractManageFeeType.RENT_BUSSINESS_MANAGE_FEE.getCode()) {
bill.setNeedPay(_bi.getBussinessManageFeeNeedPay());
bill.setReceivePay(_bi.getBussinessManageFeeNeedPay());
}else if (feeType.getCode() == EnumRentContractManageFeeType.RENT_OPERATING_MANAGE_FEE.getCode()) {
bill.setNeedPay(_bi.getOperatingManageFeeNeedPay());
bill.setReceivePay(_bi.getOperatingManageFeeNeedPay());
}
bill.setUpdatetime(date);
bill.setRentShopType(record.getRentShopType());


Loading…
Cancel
Save