From 31cba27f3f8ef2cdb02f1fa0d3df7b41605a3ba5 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 24 二月 2025 14:26:46 +0800 Subject: [PATCH] 编辑项目其它信息项目id为空bug --- business/src/main/java/com/ycl/event/event/TaskLogEvent.java | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/business/src/main/java/com/ycl/event/event/TaskLogEvent.java b/business/src/main/java/com/ycl/event/event/TaskLogEvent.java index 076c8dd..0a72952 100644 --- a/business/src/main/java/com/ycl/event/event/TaskLogEvent.java +++ b/business/src/main/java/com/ycl/event/event/TaskLogEvent.java @@ -15,7 +15,14 @@ @Getter @Setter public class TaskLogEvent extends ApplicationEvent { - + /** + * id + */ + private Long id; + /** + * 鐢ㄦ埛id + */ + private Long userId; /** * 椤圭洰id */ @@ -30,6 +37,10 @@ * 浠诲姟id */ private String taskId; + /** + * 浠诲姟鍚� + */ + private String taskName; /** * 浜嬩欢绫诲瀷 @@ -51,12 +62,15 @@ * @param taskId 浠诲姟id * @param otherData 鍏跺畠鏁版嵁 */ - public TaskLogEvent(Object source, Long projectId, String processInsId, String taskId, ProcessLogEventTypeEnum eventType, Object otherData) { + public TaskLogEvent(Object source,Long id,Long userId, Long projectId, String processInsId, String taskId, String taskName,ProcessLogEventTypeEnum eventType, Object otherData) { super(source); + this.id = id; + this.userId = userId; this.projectId = projectId; this.processInsId = processInsId; this.eventType = eventType; this.taskId = taskId; + this.taskName = taskName; this.otherData = otherData; } } -- Gitblit v1.8.0