From 62e9b968c6f6a624b8d633c3c9551f1c814ea6e4 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 01 四月 2026 16:31:23 +0800
Subject: [PATCH] 生产计划追踪进度2.0
---
src/main/java/com/ruoyi/productionPlan/controller/TrackController.java | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/productionPlan/controller/TrackController.java b/src/main/java/com/ruoyi/productionPlan/controller/TrackController.java
new file mode 100644
index 0000000..ce3450e
--- /dev/null
+++ b/src/main/java/com/ruoyi/productionPlan/controller/TrackController.java
@@ -0,0 +1,36 @@
+package com.ruoyi.productionPlan.controller;
+
+import com.ruoyi.framework.aspectj.lang.annotation.Log;
+import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.productionPlan.pojo.ProductOrderPlan;
+import com.ruoyi.productionPlan.service.ProductOrderPlanService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 鍓嶇鎺у埗鍣�
+ * </p>
+ *
+ * @author 鑺杞欢锛堟睙鑻忥級鏈夐檺鍏徃
+ * @since 2026-03-11 03:02:58
+ */
+@RestController
+@RequestMapping("/track")
+@Api(tags = "杩借釜杩涘害")
+public class TrackController {
+
+ @Autowired
+ private ProductOrderPlanService productOrderPlanService;
+
+ @GetMapping("/trackProgressByNo")
+ @ApiOperation("鏍规嵁涓荤敓浜ц鍒掓煡璇㈣繘搴�")
+ public AjaxResult trackProgressByNo(Long productionPlanId) {
+ return AjaxResult.success(productOrderPlanService.trackProgressByNo(productionPlanId));
+ }
+
+}
--
Gitblit v1.9.3