From a0f3e98fdd9472af3c78b42423a7e3fa6fb92eba Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期六, 13 九月 2025 14:28:55 +0800
Subject: [PATCH] 清理无用老代码
---
blade-service/blade-mdm/src/main/java/org/springblade/mdm/flow/service/execute/AbstractFlowCompleteService.java | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/blade-service/blade-mdm/src/main/java/org/springblade/mdm/flow/service/execute/AbstractFlowCompleteService.java b/blade-service/blade-mdm/src/main/java/org/springblade/mdm/flow/service/execute/AbstractFlowCompleteService.java
index 543c53c..80008b5 100644
--- a/blade-service/blade-mdm/src/main/java/org/springblade/mdm/flow/service/execute/AbstractFlowCompleteService.java
+++ b/blade-service/blade-mdm/src/main/java/org/springblade/mdm/flow/service/execute/AbstractFlowCompleteService.java
@@ -4,11 +4,6 @@
import org.flowable.engine.RuntimeService;
import org.flowable.engine.TaskService;
import org.flowable.task.api.Task;
-import org.springblade.core.tool.api.R;
-import org.springblade.mdm.flow.constants.FlowContants;
-import org.springblade.mdm.flow.service.ApproveRecordService;
-import org.springblade.system.feign.IUserClient;
-import org.springblade.system.pojo.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -25,8 +20,6 @@
protected TaskService taskService;
@Autowired
protected RuntimeService runtimeService;
- @Autowired
- protected ApproveRecordService approveRecordService;
@Transactional
public abstract void completeTask(String taskId, String processInstanceId, String comment, @Parameter(name = "variables", description = "娴佺▼鍙橀噺") @RequestBody Map<String, Object> variables);
@@ -49,10 +42,5 @@
.taskId(taskId)
.singleResult();
}
- void addApproveRecord(String taskId,String comment,Map<String, Object> variables){
- String operateResult = variables.get("approve")+"";
- approveRecordService.saveApproveRecords(currentTask(taskId),operateResult,comment);
- }
-
}
--
Gitblit v1.9.3