From ff302662063351bf572404da2f3a6a1ff95d5982 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 12 二月 2025 15:29:53 +0800
Subject: [PATCH] 跳过增加跳过说明

---
 business/src/main/java/com/ycl/domain/json/JumpData.java                   |   22 ++++++++++++++++++++++
 business/src/main/java/com/ycl/domain/form/TaskJumpForm.java               |    3 +++
 business/src/main/java/com/ycl/service/impl/ProjectProcessServiceImpl.java |    3 ++-
 3 files changed, 27 insertions(+), 1 deletions(-)

diff --git a/business/src/main/java/com/ycl/domain/form/TaskJumpForm.java b/business/src/main/java/com/ycl/domain/form/TaskJumpForm.java
index 7546c9e..c1868d0 100644
--- a/business/src/main/java/com/ycl/domain/form/TaskJumpForm.java
+++ b/business/src/main/java/com/ycl/domain/form/TaskJumpForm.java
@@ -29,4 +29,7 @@
 
     @ApiModelProperty("娴佺▼瀹炰緥id锛岀敤浜庝繚瀛樻棩蹇�")
     private String processInsId;
+
+    @ApiModelProperty("璇存槑")
+    private String desc;
 }
diff --git a/business/src/main/java/com/ycl/domain/json/JumpData.java b/business/src/main/java/com/ycl/domain/json/JumpData.java
new file mode 100644
index 0000000..f3414ea
--- /dev/null
+++ b/business/src/main/java/com/ycl/domain/json/JumpData.java
@@ -0,0 +1,22 @@
+package com.ycl.domain.json;
+
+import lombok.Data;
+
+/**
+ * 璺宠繃浠诲姟
+ *
+ * @author锛歺p
+ * @date锛�2025/2/12 13:43
+ */
+@Data
+public class JumpData {
+
+
+    /** 鎯呭喌璇存槑 */
+    private String desc;
+
+
+    public JumpData(String desc) {
+        this.desc = desc;
+    }
+}
diff --git a/business/src/main/java/com/ycl/service/impl/ProjectProcessServiceImpl.java b/business/src/main/java/com/ycl/service/impl/ProjectProcessServiceImpl.java
index ef85fb1..ae7c9b0 100644
--- a/business/src/main/java/com/ycl/service/impl/ProjectProcessServiceImpl.java
+++ b/business/src/main/java/com/ycl/service/impl/ProjectProcessServiceImpl.java
@@ -22,6 +22,7 @@
 import com.ycl.domain.form.TaskDelegationForm;
 import com.ycl.domain.form.TaskJumpForm;
 import com.ycl.domain.json.DelegateData;
+import com.ycl.domain.json.JumpData;
 import com.ycl.domain.vo.CustomerTaskVO;
 import com.ycl.domain.vo.IndexCustomerTaskVO;
 import com.ycl.domain.vo.ProjectProcessDetailVO;
@@ -620,7 +621,7 @@
         Task task = taskService.createTaskQuery().taskId(form.getTaskId()).processInstanceId(form.getProcessInsId()).singleResult();
         if (Objects.nonNull(task)) {
             // 娣诲姞璺宠繃鏃ュ織
-            publisher.publishEvent(new TaskLogEvent(this, form.getProjectId(), form.getProcessInsId(), form.getTaskId(), ProcessLogEventTypeEnum.JUMP, null));
+            publisher.publishEvent(new TaskLogEvent(this, form.getProjectId(), form.getProcessInsId(), form.getTaskId(), ProcessLogEventTypeEnum.JUMP, new JumpData(form.getDesc())));
             // 鏌ュ嚭璇ヤ换鍔$粦瀹氱殑琛ㄥ崟
 
             Map<String, Object> data = new HashMap<>(1);

--
Gitblit v1.8.0