|
|
|
@@ -2010,7 +2010,8 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
String ratio = new BigDecimal(integers.get(i)).divide(new BigDecimal(100)).toPlainString(); |
|
|
|
result.put("adjustRatio" + i, ratio); |
|
|
|
result.put("adjustPeriod" + i, wxRentContract.getAdjustPeriod()); |
|
|
|
String payRatio = new BigDecimal(wxRentContract.getPayRatio()).divide(new BigDecimal(100)).toPlainString(); |
|
|
|
Integer tempPayRatio = Optional.ofNullable(wxRentContract.getPayRatio()).orElse(0); |
|
|
|
String payRatio = new BigDecimal(tempPayRatio).divide(new BigDecimal(100)).toPlainString(); |
|
|
|
result.put("payRatio" + i, payRatio); |
|
|
|
|
|
|
|
} |
|
|
|
@@ -2039,7 +2040,8 @@ public class WxRentContractServiceImpl implements WxRentContractService { |
|
|
|
result.put("rentalEndDateDay" + count, enddate.substring(8)); |
|
|
|
result.put("adjustRatio" + count, wxRentContract.getAdjustRatio()); |
|
|
|
result.put("adjustPeriod" + count, wxRentContract.getAdjustPeriod()); |
|
|
|
String payRatio = new BigDecimal(wxRentContract.getPayRatio()).divide(new BigDecimal(100)).toPlainString(); |
|
|
|
Integer tempPayRatio = Optional.ofNullable(wxRentContract.getPayRatio()).orElse(0); |
|
|
|
String payRatio = new BigDecimal(tempPayRatio).divide(new BigDecimal(100)).toPlainString(); |
|
|
|
result.put("payRatio" + count, payRatio); |
|
|
|
|
|
|
|
} |
|
|
|
|