From e7243b4e61a96249bbe17173682a243c9a591609 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 06 三月 2025 10:21:23 +0800
Subject: [PATCH] 首页待办剩余时间用红码时间计算
---
business/src/main/java/com/ycl/event/event/TaskLogEvent.java | 16 ++++++++++++++--
1 files changed, 14 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 dc3e3a4..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,16 @@
* 浠诲姟id
*/
private String taskId;
+
+ /**
+ * 浠诲姟key
+ */
+ private String taskDefKey;
+
+ /**
+ * 浠诲姟鍚�
+ */
+ private String taskName;
/**
* 浜嬩欢绫诲瀷
@@ -58,7 +68,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, String projectId, String processInsId, String taskId, String taskDefKey, String taskName,ProcessLogEventTypeEnum eventType, Object otherData) {
super(source);
this.id = id;
this.userId = userId;
@@ -66,6 +76,8 @@
this.processInsId = processInsId;
this.eventType = eventType;
this.taskId = taskId;
+ this.taskDefKey = taskDefKey;
+ this.taskName = taskName;
this.otherData = otherData;
}
}
--
Gitblit v1.8.0