Browse Source

处理时限加入禁用

wangliang 1 year ago
parent
commit
8854100492

+ 1 - 3
sop-business/src/main/java/com/qmth/sop/business/activiti/listener/ProcessEventListener.java

@@ -358,9 +358,7 @@ public class ProcessEventListener implements ActivitiEventListener, Serializable
         SysMessageService sysMessageService = SpringContextHolder.getBean(SysMessageService.class);
         TFCustomFlowEntityService tfCustomFlowEntityService = SpringContextHolder.getBean(TFCustomFlowEntityService.class);
 
-        if ((type == TFCustomTypeEnum.DING_EXCEPTION_FLOW
-                || type == TFCustomTypeEnum.PROJECT_EXCHANGE_FLOW) &&
-                status == FlowStatusEnum.FINISH) {//流程结束发送短信
+        if ((type == TFCustomTypeEnum.DING_EXCEPTION_FLOW || type == TFCustomTypeEnum.PROJECT_EXCHANGE_FLOW) && status == FlowStatusEnum.FINISH) {//流程结束发送短信
             FlowTaskMsgResult flowTaskMsgResult = tfCustomFlowEntityService.getFlowTaskRemindMsgInfo(tfCustomFlowEntity.getId(), tfCustomFlowEntity.getCreateId());
             Optional.ofNullable(flowTaskMsgResult).orElseThrow(() -> ExceptionResultEnum.USER_NO_EXISTS.exception());