Browse Source

修改值班计划工作流

zhongwei
段飞宇 2 years ago
parent
commit
455cfa7d5a
  1. 8
      hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/processflow/strategy/serviceimpl/DealDutyRecFlowServiceImpl.java

8
hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/processflow/strategy/serviceimpl/DealDutyRecFlowServiceImpl.java

@ -14,7 +14,7 @@ import org.springframework.stereotype.Service;
import static com.hnac.hzims.middle.process.constant.TicketProcessConstant.DUTY_REC;
/**
* 日常排班
* 交接班v4
*
* @Author WL
* @Version v1.0
@ -42,10 +42,10 @@ public class DealDutyRecFlowServiceImpl extends ProcessAbstractService {
public Boolean isWorkflowProcess(WorkflowQueue flowQueue) {
String dictValue = processDictService.selectDictValueByKey(DUTY_REC);
if (dictValue.equals(flowQueue.getProcessDefinitionKey())) {
log.info("已执行值班计划程环节操作~~~~");
log.info("已执行交接班v4流程程环节操作~~~~");
return true;
}
log.error("未执行值班计划工作流流程环节操作,请联系管理员~~~~");
log.error("未执行交接班v4流程环节操作,请联系管理员~~~~");
return false;
}
@ -59,7 +59,7 @@ public class DealDutyRecFlowServiceImpl extends ProcessAbstractService {
public void calculate(ProcessWorkFlowResponse response) {
R dealtDutyRecFlow = iDutyRecClient.dealDutyRecFlow(response);
if (!dealtDutyRecFlow.isSuccess()){
throw new ServiceException("执行值班计划失败");
throw new ServiceException("执行交接班v4失败");
}
}
}

Loading…
Cancel
Save