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 bd25c5bba..99e67dfcf 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -842,6 +842,11 @@ public class WxRentContractServiceImpl implements WxRentContractService { if (wxRentContract.getType().equals(EnumRentContractType.RENT_BY_AREA.getCode())) { areaWay(wxRentContract, result, lease, adjustRatio, extralease, extracount, paycount, index, count, rentPrice); } else { + //保底 + double revenue = new BigDecimal(wxRentContract.getRevenue()) + .divide(new BigDecimal(100)).setScale(2, RoundingMode.HALF_EVEN).doubleValue(); + result.put("revenue", revenue); + result.put("revenueUpper", digitUppercase(revenue)); ratioWay(wxRentContract, result, lease, adjustRatio, extralease, extracount, paycount, index, count, rentPrice); } //物业合同信息 diff --git a/mallinkService/src/main/resources/contract-word-template/contract_rent_property_by_ratio.docx b/mallinkService/src/main/resources/contract-word-template/contract_rent_property_by_ratio.docx index 1f26e8e62..92e0d36e2 100644 Binary files a/mallinkService/src/main/resources/contract-word-template/contract_rent_property_by_ratio.docx and b/mallinkService/src/main/resources/contract-word-template/contract_rent_property_by_ratio.docx differ