Browse Source

完截止后 调状态机

tags/24080901
PoffyZhang 1 year ago
parent
commit
63850ce453
1 changed files with 2 additions and 1 deletions
  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 View File

@@ -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.model.entity.ProjectInst;
import com.ningdatech.pmapi.projectlib.service.IProjectInstService; import com.ningdatech.pmapi.projectlib.service.IProjectInstService;
import com.ningdatech.pmapi.projectlib.service.IProjectService; import com.ningdatech.pmapi.projectlib.service.IProjectService;
import com.wflow.workflow.notify.event.ProcessEndEvent;
import com.wflow.workflow.notify.event.ProcessStartEvent; import com.wflow.workflow.notify.event.ProcessStartEvent;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
@@ -44,7 +45,7 @@ public class ProcessEndListener {


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




Loading…
Cancel
Save