浏览代码

完截止后 调状态机

tags/24080901
PoffyZhang 1年前
父节点
当前提交
63850ce453
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/listener/ProcessEndListener.java

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/listener/ProcessEndListener.java 查看文件

@@ -8,6 +8,7 @@ import com.ningdatech.pmapi.projectlib.model.entity.Project;
import com.ningdatech.pmapi.projectlib.model.entity.ProjectInst;
import com.ningdatech.pmapi.projectlib.service.IProjectInstService;
import com.ningdatech.pmapi.projectlib.service.IProjectService;
import com.wflow.workflow.notify.event.ProcessEndEvent;
import com.wflow.workflow.notify.event.ProcessStartEvent;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
@@ -44,7 +45,7 @@ public class ProcessEndListener {

@Async
@EventListener
public void onApplicationEvent(ProcessStartEvent event) {
public void onApplicationEvent(ProcessEndEvent event) {
log.info("进入工作流结束的 事件监听!{}", event.getInstCode());
String instCode = event.getInstCode();



正在加载...
取消
保存