From 1b9936ba920d65df09ab8dba79c6252568ee26e4 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 26 三月 2025 12:16:02 +0800
Subject: [PATCH] 任务统计bug
---
business/src/main/java/com/ycl/event/event/TaskLogEvent.java | 11 +++++++++--
1 files changed, 9 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 0a72952..0f65cdd 100644
--- a/business/src/main/java/com/ycl/event/event/TaskLogEvent.java
+++ b/business/src/main/java/com/ycl/event/event/TaskLogEvent.java
@@ -26,7 +26,7 @@
/**
* 椤圭洰id
*/
- private Long projectId;
+ private String projectId;
/**
* 娴佺▼瀹炰緥id
@@ -37,6 +37,12 @@
* 浠诲姟id
*/
private String taskId;
+
+ /**
+ * 浠诲姟key
+ */
+ private String taskDefKey;
+
/**
* 浠诲姟鍚�
*/
@@ -62,7 +68,7 @@
* @param taskId 浠诲姟id
* @param otherData 鍏跺畠鏁版嵁
*/
- public TaskLogEvent(Object source,Long id,Long userId, Long projectId, String processInsId, String taskId, String taskName,ProcessLogEventTypeEnum eventType, Object otherData) {
+ public TaskLogEvent(Object source,Long id,Long userId, String projectId, String processInsId, String taskId, String taskDefKey, String taskName,ProcessLogEventTypeEnum eventType, Object otherData) {
super(source);
this.id = id;
this.userId = userId;
@@ -70,6 +76,7 @@
this.processInsId = processInsId;
this.eventType = eventType;
this.taskId = taskId;
+ this.taskDefKey = taskDefKey;
this.taskName = taskName;
this.otherData = otherData;
}
--
Gitblit v1.8.0