update 优化 工作流任务创建监听器 传递流程参数

This commit is contained in:
疯狂的狮子Li
2025-07-09 10:41:08 +08:00
parent 4244567d2e
commit 5d2156cb5e
4 changed files with 11 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ import org.dromara.common.core.utils.SpringUtils;
import org.springframework.cloud.bus.event.RemoteApplicationEvent;
import java.io.Serial;
import java.util.Map;
/**
* 流程任务监听
@@ -59,6 +60,11 @@ public class ProcessTaskEvent extends RemoteApplicationEvent {
*/
private String status;
/**
* 办理参数
*/
private Map<String, Object> params;
public ProcessTaskEvent() {
super(new Object(), SpringUtils.getApplicationName(), DEFAULT_DESTINATION_FACTORY.getDestination(null));
}