From 2ad08ea181d8ec1e2b4b90bd1ddd40a2ba595b59 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 07 三月 2024 08:08:25 +0800
Subject: [PATCH] 提交更新

---
 north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java
index 97f42d3..11673c5 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java
@@ -64,14 +64,25 @@
         }
     }
 
-    //娣诲姞鎺掍骇鏁版嵁
+    //鍒犻櫎鎺掍骇鏁版嵁
     @PostMapping("/deleteScheduling")
-    public Result DeleteScheduling( @RequestBody Map<String,Object>  object){
+    public Result DeleteScheduling( @RequestBody Map<String,Object>  object) throws Exception{
 
-        if(productionSchedulingService.AddSchedulingSv(object)){
+        if(productionSchedulingService.DeleteSchedulingSv(object)){
             return Result.seccess();
         }else {
-            throw new ServiceException(Constants.Code_500,"淇濆瓨澶辫触");
+            throw new ServiceException(Constants.Code_500,"鍒犻櫎澶辫触");
+
+        }
+    }
+
+    @PostMapping("/examineScheduling")
+    public Result ExamineScheduling( @RequestBody Map<String,Object>  object){
+
+        if(productionSchedulingService.ExamineSchedulingSv(object)){
+            return Result.seccess();
+        }else {
+            throw new ServiceException(Constants.Code_500,"瀹℃牳澶辫触");
 
         }
     }

--
Gitblit v1.8.0