From cc135e6eb6435c697c848ffa2c8a4ca832944bf2 Mon Sep 17 00:00:00 2001 From: luozukai Date: Thu, 25 Apr 2019 18:18:52 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=A6=96=E9=A1=B5=E7=BB=9F=E8=AE=A1][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E4=BF=AE=E6=94=B9=E6=9C=AA=E5=87=BA?= =?UTF-8?q?=E7=A7=9F=E5=95=86=E9=93=BA=E7=BB=9F=E8=AE=A1]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/service/impl/WxRentContractServiceImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 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 ab2ec5132..6dc51526a 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -127,13 +127,13 @@ public class WxRentContractServiceImpl implements WxRentContractService { wxRentContract.setPrice(wxRentContract.getPrice() != null ? wxRentContract.getPrice() : 0); wxRentContract.setDeposit(wxRentContract.getDeposit() != null ? wxRentContract.getDeposit() : 0); //handle - if(wxRentContract.getReceivePeriod().intValue() == 1){ + if(wxRentContract.getAdjustPeriod().intValue() == 1){ wxRentContract.setAdjustPeriod(1); wxRentContract.setMonthHandleType(null); - }else if(wxRentContract.getReceivePeriod().intValue() == 2){ + }else if(wxRentContract.getAdjustPeriod().intValue() == 2){ wxRentContract.setAdjustPeriod(2); wxRentContract.setMonthHandleType(2); - }else if(wxRentContract.getReceivePeriod().intValue() == 3){ + }else if(wxRentContract.getAdjustPeriod().intValue() == 3){ wxRentContract.setAdjustPeriod(null); wxRentContract.setMonthHandleType(3); }