From 3fb5b2f6765acb9532dea015ad1f475b4af3218f Mon Sep 17 00:00:00 2001 From: luozukai Date: Sat, 22 Jun 2019 00:01:39 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=90=88=E5=90=8C][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=A9=E4=B8=9A=E5=90=88=E5=90=8C]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/service/impl/WxPropertyContractServiceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java index f9e430be1..dfbffaa21 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java @@ -722,8 +722,7 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService int receivePeriod = wxPropertyContract.getReceivePeriod().intValue(); Integer lease = wxPropertyContract.getLease(); Date rentalStartDate = wxPropertyContract.getRentalStartDate(); - System.out.println(wxPropertyContract.getRentStartType().intValue() + "------------------"); - if (wxPropertyContract.getRentStartType().equals(EnumRentStartType.STARTTIME.getCode())) { + if (EnumRentStartType.STARTTIME.getCode().equals(wxPropertyContract.getRentStartType())) { rentalStartDate = wxPropertyContract.getStartDate(); } propertyContract.setRentalStartDate(rentalStartDate);