ソースを参照

fix bug

release_toaliyun_real
zhengfangyuan 3年前
コミット
0274f4f001
1個のファイルの変更3行の追加0行の削除
  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 ファイルの表示

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


読み込み中…
キャンセル
保存