From e8c86eafffbcc6ce6c1e506b6b6363a707dd6420 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期二, 23 七月 2024 10:56:51 +0800
Subject: [PATCH] 不良品处理和归档

---
 src/main/java/com/whyc/controller/DefectiveProductsController.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/whyc/controller/DefectiveProductsController.java b/src/main/java/com/whyc/controller/DefectiveProductsController.java
index 2457105..6a66cb6 100644
--- a/src/main/java/com/whyc/controller/DefectiveProductsController.java
+++ b/src/main/java/com/whyc/controller/DefectiveProductsController.java
@@ -37,4 +37,10 @@
     public Response updateDefective(@RequestBody DefectiveProductsHistory defectiveHis) {
         return service.updateDefective(defectiveHis);
     }
+
+    @ApiOperation("褰掓。涓嶈壇鍝�")
+    @PostMapping("stopDefective")
+    public Response stopDefective(@RequestParam int  deftId) {
+        return service.stopDefective(deftId);
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.1