Sfoglia il codice sorgente

完截止后 调状态机

tags/24080901
PoffyZhang 1 anno fa
parent
commit
63850ce453
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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 Vedi 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.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…
Annulla
Salva