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