瀏覽代碼

完截止后 调状态机

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



Loading…
取消
儲存