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); }