From 908a8a6fa7162cb998b131fcea2b3f2efa2b433d Mon Sep 17 00:00:00 2001 From: gongbiao Date: Sat, 15 Jun 2019 14:48:04 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=9F=E8=B5=81=E7=89=A9=E4=B8=9A=E5=90=88?= =?UTF-8?q?=E5=90=8C][=E4=BF=AE=E6=94=B9][=E6=A0=B9=E6=8D=AEID=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/WxRentPropertyContractServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxRentPropertyContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxRentPropertyContractServiceImpl.java index efc6e69ff..43fba7521 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentPropertyContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentPropertyContractServiceImpl.java @@ -55,8 +55,8 @@ public class WxRentPropertyContractServiceImpl implements WxRentPropertyContract .filter(p -> p.getStatus().equals(EnumRentContractStatus.CONTRACT_END_SOON.getCode()) || p.getStatus().equals(EnumRentContractStatus.RENT_PAID.getCode()) || p.getStatus().equals(EnumRentContractStatus.SIGNED_RENT_UNPAID.getCode())) - .findFirst().orElseGet(null); - data.put("property", wxPropertyContract); + .findFirst().orElse(null); + data.put("property", new WxPropertyContract()); if (wxPropertyContract != null) { Map property = wxPropertyContractService.getById(wxPropertyContract.getRentContractId()); data.put("property", property);