From ede4e6aef5421f3a28fb4bc083ee60025b1b5f03 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期五, 01 三月 2024 08:56:39 +0800
Subject: [PATCH] 报工新增界面部分代码

---
 north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 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 1e9a012..15aee42 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
@@ -52,4 +52,16 @@
 
     }
 
+    //娣诲姞鎺掍骇鏁版嵁
+    @PostMapping("/addScheduling")
+    public Result AddScheduling( @RequestBody Map<String,Object>  object){
+
+        if(productionSchedulingService.AddSchedulingSv(object)){
+            return Result.seccess();
+        }else {
+            throw new ServiceException(Constants.Code_500,"淇濆瓨澶辫触");
+
+        }
+    }
+
 }

--
Gitblit v1.8.0