From 2a2ed2e9bf5cc5f920b19ae2e30bdd661394cf5f Mon Sep 17 00:00:00 2001 From: Burce Date: Sun, 12 Apr 2020 23:31:00 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=90=88=E5=90=8C]=E9=A9=B3=E5=9B=9E=E5=90=8E?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/service/impl/WxPropertyContractServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a8a99c8fb..9af7b7056 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java @@ -310,7 +310,7 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService .stream().filter(p -> p.getStatus().equals(EnumRentContractStatus.SIGNED_RENT_UNPAID.getCode()) || p.getStatus().equals(EnumRentContractStatus.RENT_PAID.getCode()) || p.getStatus().equals(EnumRentContractStatus.CONTRACT_END_SOON.getCode())).count(); - if (count > 0) { + if (count > 1) { return new ResultData(ErrorCode.RENT_CONTRACT_WITH_SHOP_IS_FOUND); } //保存物业合同信息