From 9563594760a226250f7f317019792949c0606eb7 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 14 二月 2025 09:51:16 +0800
Subject: [PATCH] 日志保存任务名

---
 business/src/main/java/com/ycl/event/event/TaskLogEvent.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 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 dc3e3a4..0a72952 100644
--- a/business/src/main/java/com/ycl/event/event/TaskLogEvent.java
+++ b/business/src/main/java/com/ycl/event/event/TaskLogEvent.java
@@ -37,6 +37,10 @@
      * 浠诲姟id
      */
     private String taskId;
+    /**
+     * 浠诲姟鍚�
+     */
+    private String taskName;
 
     /**
      * 浜嬩欢绫诲瀷
@@ -58,7 +62,7 @@
      * @param taskId 浠诲姟id
      * @param otherData 鍏跺畠鏁版嵁
      */
-    public TaskLogEvent(Object source,Long id,Long userId, 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;
@@ -66,6 +70,7 @@
         this.processInsId = processInsId;
         this.eventType = eventType;
         this.taskId = taskId;
+        this.taskName = taskName;
         this.otherData = otherData;
     }
 }

--
Gitblit v1.8.0