|
@@ -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());
|
|
|
|
|