فهرست منبع

处理时限加入禁用

wangliang 1 سال پیش
والد
کامیت
8854100492
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 1 3
      sop-business/src/main/java/com/qmth/sop/business/activiti/listener/ProcessEventListener.java

+ 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);
         SysMessageService sysMessageService = SpringContextHolder.getBean(SysMessageService.class);
         TFCustomFlowEntityService tfCustomFlowEntityService = SpringContextHolder.getBean(TFCustomFlowEntityService.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());
             FlowTaskMsgResult flowTaskMsgResult = tfCustomFlowEntityService.getFlowTaskRemindMsgInfo(tfCustomFlowEntity.getId(), tfCustomFlowEntity.getCreateId());
             Optional.ofNullable(flowTaskMsgResult).orElseThrow(() -> ExceptionResultEnum.USER_NO_EXISTS.exception());
             Optional.ofNullable(flowTaskMsgResult).orElseThrow(() -> ExceptionResultEnum.USER_NO_EXISTS.exception());