From 1e11a4c8ec2a531e2499cd11026aec3f64ddc350 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期二, 20 二月 2024 16:08:43 +0800
Subject: [PATCH] 库存界面以及发货界面才程序修改

---
 north-glass-erp/src/main/java/com/example/erp/controller/mm/FinishedGoodsInventoryController.java |   40 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/mm/FinishedGoodsInventoryController.java b/north-glass-erp/src/main/java/com/example/erp/controller/mm/FinishedGoodsInventoryController.java
index 942d4ee..ffa422a 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/mm/FinishedGoodsInventoryController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/mm/FinishedGoodsInventoryController.java
@@ -106,4 +106,44 @@
     public Result getSelectOperateRecord(@PathVariable Integer pageNum, @PathVariable Integer pageSize, @RequestBody FinishedOperateLog finishedOperateLog){
         return Result.seccess(finishedGoodsInventoryService.getSelectOperateRecord(pageNum,pageSize,finishedOperateLog));
     }
+
+    /*璁㈠崟杩斿伐*/
+    @PostMapping("/updateFinishedGoodsInventoryRework")
+    public Result updateFinishedGoodsInventoryRework( @RequestBody Map<String,Object>  object){
+
+        if(finishedGoodsInventoryService.updateFinishedGoodsInventoryRework(object)){
+            return Result.seccess();
+
+        }else {
+            throw new ServiceException(Constants.Code_500,"杩斿伐澶辫触");
+
+        }
+    }
+
+
+
+    /*璁㈠崟瀹℃牳*/
+    @PostMapping("/updateFinishedGoodsInventoryToExamine")
+    public Result updateFinishedGoodsInventoryToExamine( @RequestBody Map<String,Object>  object){
+
+        if(finishedGoodsInventoryService.updateFinishedGoodsInventoryToExamine(object,"瀹℃牳")){
+            return Result.seccess();
+
+        }else {
+            throw new ServiceException(Constants.Code_500,"棰嗗嚭澶辫触");
+
+        }
+    }
+    /*璁㈠崟鍙嶅*/
+    @PostMapping("/updateFinishedGoodsInventoryCounterexamination")
+    public Result updateFinishedGoodsInventoryCounterexamination( @RequestBody Map<String,Object>  object){
+
+        if(finishedGoodsInventoryService.updateFinishedGoodsInventoryToExamine(object,"鍙嶅")){
+            return Result.seccess();
+
+        }else {
+            throw new ServiceException(Constants.Code_500,"棰嗗嚭澶辫触");
+
+        }
+    }
 }

--
Gitblit v1.8.0