From 5ceb916640d25f34a0b2476c7e8bec9f24be8fde Mon Sep 17 00:00:00 2001 From: gongbiao Date: Mon, 2 Sep 2019 13:38:35 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=90=88=E5=90=8C][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E7=A7=9F=E9=87=91]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/service/impl/WxRentContractServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ab18f379c..5dcc9b107 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -1296,7 +1296,8 @@ public class WxRentContractServiceImpl implements WxRentContractService { if (EnumRentContractType.RENT_BY_JOINT.getCode().equals(wxRentContract.getType())) { //设置跳点率为年周期 price不变 - if(EnumMissTimeType.PERIOD.getCode().equals(wxRentContract.getBusDiscountTime())){ + if (EnumRentContractAdjustRatioWay.CUSTOM.getCode().equals(wxRentContract.getAdjustRatioWay()) || + EnumMissTimeType.PERIOD.getCode().equals(wxRentContract.getBusDiscountTime())) { return priceD.longValue(); } //年或者设置跳点率为年周期 除12