From e2546190a0b8983c0cc92655bc7a33d8d8ac9e41 Mon Sep 17 00:00:00 2001 From: xhxu Date: Sat, 14 Aug 2021 21:41:19 +0800 Subject: [PATCH] hetong --- .../com/iformall/service/impl/WxRentContractServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java index 930633cb5..d4ef825cd 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -601,7 +601,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { - + // if(CollectionUtils.isEmpty(record.getPreviewBillRentList())) { // if (record.getReceivePeriod() != null && record.getLease() != null @@ -2251,7 +2251,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { result.put("oneRentalStartDateDay2",incrementStartDate.substring(8,10)); result.put("oneRentIncreasing2",increasingProportion); double priceRent2 = new BigDecimal(priceRent) - .divide(new BigDecimal(1).add(new BigDecimal(increasingProportion))) + .multiply(new BigDecimal(1).add(new BigDecimal(increasingProportion))) .setScale(2, RoundingMode.HALF_EVEN).doubleValue(); result.put("oneRentalPrice2", priceRent2); result.put("oneRentalPriceUpper2", PriceUtil.digitUppercase(priceRent2));