From 5d99227a97b7b244893b748af28e7f78238d2951 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期五, 05 九月 2025 01:15:15 +0800
Subject: [PATCH] 任务提醒,增加导出提醒;

---
 blade-service/blade-mdm/src/main/java/org/springblade/mdm/flow/controller/ReplaceFlowController.java |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/blade-service/blade-mdm/src/main/java/org/springblade/mdm/flow/controller/ReplaceFlowController.java b/blade-service/blade-mdm/src/main/java/org/springblade/mdm/flow/controller/ReplaceFlowController.java
index 9432aed..f55ce6c 100644
--- a/blade-service/blade-mdm/src/main/java/org/springblade/mdm/flow/controller/ReplaceFlowController.java
+++ b/blade-service/blade-mdm/src/main/java/org/springblade/mdm/flow/controller/ReplaceFlowController.java
@@ -10,6 +10,8 @@
 import org.flowable.engine.runtime.ProcessInstance;
 import org.flowable.task.api.Task;
 import org.springblade.core.tool.api.R;
+import org.springblade.mdm.basesetting.producedivision.entity.ProduceDivision;
+import org.springblade.mdm.basesetting.producedivision.service.ProduceDivisionService;
 import org.springblade.mdm.flow.constants.FlowContants;
 import org.springblade.mdm.flow.excution.StartDispatcher;
 import org.springblade.mdm.flow.service.ApproveRecordService;
@@ -24,6 +26,7 @@
 import org.springblade.mdm.flow.vo.ReplaceUploadVO;
 import org.springblade.mdm.flow.vo.TaskAssignVO;
 import org.springblade.mdm.program.service.ProcessProgRefService;
+import org.springblade.mdm.program.service.ProgramFlowStatusQueryService;
 import org.springblade.mdm.program.vo.NcNodeVO;
 import org.springframework.web.bind.annotation.*;
 
@@ -35,14 +38,7 @@
 @RequestMapping("/flow/replace")
 @Tag(name = "鏇挎崲娴佺▼", description = "鏇挎崲娴佺▼")
 public class ReplaceFlowController {
-
-	private final TaskService taskService;
-	private final RuntimeService runtimeService;
-
-	private final ApproveRecordService approveRecordService;
-	private final FlowProgramFileService flowProgramFileService;
-	private final DefaultFlowCompleteService defaultFlowCompleteService;
-	private final TaskDispatchService taskDispatchService;
+	private final ProduceDivisionService produceDivisionService;
 	private final ReplaceFlowService replaceFlowService;
 
 	@PostMapping("/pre")
@@ -85,4 +81,11 @@
 		}
 		return R.success();
 	}
+
+	@GetMapping("/default-assignees")
+	@Operation(summary = "榛樿鐨勫鏍哥敤鎴�", description = "鍑嗗绋嬪簭鏇挎崲娴佺▼锛屾墦寮�鐣岄潰涔嬪墠璋冪敤锛岃皟鐢ㄤ箣鍚庝細鍒濆鍖栨枃浠跺垪琛�,")
+	public R<ProduceDivision> defaultAssignees(@Parameter(description = "闆剁粍浠跺彿") String drawingNo) {
+		return R.data(produceDivisionService.getByDrawingNoWithQinzhe(drawingNo));
+
+	}
 }

--
Gitblit v1.9.3