From 9e5872bab591293c3f77f9c8cefbd14d3ef8a9fc Mon Sep 17 00:00:00 2001 From: luozukai Date: Thu, 24 Jan 2019 16:03:16 +0800 Subject: [PATCH] =?UTF-8?q?[BUG][1000877]:=E5=A2=9E=E5=8A=A0=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E5=AE=8C=E6=88=90=E7=8A=B6=E6=80=81=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/service/impl/WxFlowServiceImpl.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java index c8a05c8ee..21e0d4841 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java @@ -100,8 +100,10 @@ public class WxFlowServiceImpl implements WxFlowService { wxPropertyContract.setApplyStatus(applyStatus); wxPropertyContractMapper.updateApplyStatus(wxPropertyContract); - // 物业合同的合同状态需要和租赁合同同步(一致) - wxPropertyContractService.updatePropertyContractStatus(businessId); + // 审批完成,物业合同的合同状态需要和租赁合同同步(一致) + if(EnumRentContractAppStatus.FINISH.getCode().intValue() == applyStatus.intValue()) { + wxPropertyContractService.updatePropertyContractStatus(businessId); + } } } } @@ -385,7 +387,7 @@ public class WxFlowServiceImpl implements WxFlowService { wxMsgValidationcode.setPhone(starter.getPhone()); wxMsgValidationcodeService.sendWorkFlowNodify(wxMsgValidationcode,msgReplaceMap); }else{ - //todo 需要测下三节点 + //需要测下三节点 //继续递归判断 isEndAndSendMsg(mapInfo,taskKey,processInstanceId,tenantId,userName); }