From e42a1f99f14136657f78c0a803014acb9e03972c Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 25 四月 2024 09:36:55 +0800
Subject: [PATCH] 提交拉去 报工修改

---
 north-glass-erp/src/main/java/com/example/erp/controller/mm/FinishedGoodsInventoryController.java |   77 +++++++++++++++++++++++++++++---------
 1 files changed, 59 insertions(+), 18 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 2b3682b..b7c9f31 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
@@ -28,23 +28,23 @@
 
     /*鎴愬搧搴撳瓨鏌ヨ*/
     @ApiOperation("鎴愬搧搴撳瓨鏌ヨ鎺ュ彛")
-    @PostMapping("/getselet/{pageNum}/{pageSize}")
+    @PostMapping("/getSelect/{pageNum}/{pageSize}")
     public Result defaultDateFinishedGoodsInventory(@PathVariable Integer pageNum, @PathVariable Integer pageSize, @RequestBody FinishedGoodsInventory finishedGoodsInventory){
         return Result.seccess(finishedGoodsInventoryService.defaultDateFinishedGoodsInventory(pageNum,pageSize,finishedGoodsInventory));
     }
 
     /*鏌ヨ鍙叆搴撶殑鎴愬搧鏁版嵁*/
     @ApiOperation("鍙叆搴撶殑鎴愬搧鏌ヨ鎺ュ彛")
-    @PostMapping("/getseletwarehousing/{pageNum}/{pageSize}")
-    public Result getseletwarehousing(@PathVariable Integer pageNum, @PathVariable Integer pageSize, @RequestBody FlowCard flowCard){
-        return Result.seccess(finishedGoodsInventoryService.getseletwarehousing(pageNum,pageSize,flowCard));
+    @PostMapping("/getSelectWarehousing/{pageNum}/{pageSize}")
+    public Result getSelectWarehousing(@PathVariable Integer pageNum, @PathVariable Integer pageSize, @RequestBody FlowCard flowCard){
+        return Result.seccess(finishedGoodsInventoryService.getSelectWarehousing(pageNum,pageSize,flowCard));
     }
 
     /*鎴愬搧鍏ュ簱*/
     @ApiOperation("鎴愬搧鍏ュ簱鎺ュ彛")
-    @PostMapping("/addseletwarehousing")
-    public Result addseletwarehousing( @RequestBody Map<String,Object>  object){
-        if(finishedGoodsInventoryService.addseletwarehousing(object)){
+    @PostMapping("/addSelectWarehousing")
+    public Result addSelectWarehousing( @RequestBody Map<String,Object>  object){
+        if(finishedGoodsInventoryService.addSelectWarehousing(object)){
             return Result.seccess();
         }else {
            throw new ServiceException(Constants.Code_500,"鍏ュ簱澶辫触");
@@ -54,16 +54,16 @@
 
     /*鏌ヨ鍙彂璐х殑鎴愬搧鏁版嵁*/
     @ApiOperation("鍙彂璐х殑鎴愬搧鏌ヨ鎺ュ彛")
-    @PostMapping("/getseletdeliveryDetail/{pageNum}/{pageSize}")
-    public Result getseletdeliveryDetail(@PathVariable Integer pageNum, @PathVariable Integer pageSize, @RequestBody OrderDetail orderDetail){
-        return Result.seccess(finishedGoodsInventoryService.getseletdeliveryDetail(pageNum,pageSize,orderDetail));
+    @PostMapping("/getSelectDeliveryDetail/{pageNum}/{pageSize}")
+    public Result getSelectDeliveryDetail(@PathVariable Integer pageNum, @PathVariable Integer pageSize, @RequestBody OrderDetail orderDetail){
+        return Result.seccess(finishedGoodsInventoryService.getSelectDeliveryDetail(pageNum,pageSize,orderDetail));
     }
 
     /*鎴愬搧鍙戣揣*/
     @ApiOperation("鎴愬搧鍙戣揣鎺ュ彛")
-    @PostMapping("/adddeliveryDetail")
-    public Result adddeliveryDetail( @RequestBody Map<String,Object>  object){
-        if(finishedGoodsInventoryService.adddeliveryDetail(object)){
+    @PostMapping("/addDeliveryDetail")
+    public Result addDeliveryDetail( @RequestBody Map<String,Object>  object){
+        if(finishedGoodsInventoryService.addDeliveryDetail(object)){
             return Result.seccess();
         }else {
             throw new ServiceException(Constants.Code_500,"鍑哄簱澶辫触");
@@ -94,9 +94,9 @@
 
     /*璋冩嫧璁板綍鏌ヨ*/
     @ApiOperation("璋冩嫧璁板綍鏌ヨ鎺ュ彛")
-    @PostMapping("/getselectAllocateFinishedOperateLog/{pageNum}/{pageSize}/{selectDate}")
-    public Result getselectAllocateFinishedOperateLog(@PathVariable Integer pageNum, @PathVariable Integer pageSize,@PathVariable List<String> selectDate, @RequestBody FinishedOperateLog finishedOperateLog){
-        return Result.seccess(finishedGoodsInventoryService.getselectAllocateFinishedOperateLog(pageNum,pageSize,selectDate,finishedOperateLog));
+    @PostMapping("/getSelectAllocateFinishedOperateLog/{pageNum}/{pageSize}/{selectDate}")
+    public Result getSelectAllocateFinishedOperateLog(@PathVariable Integer pageNum, @PathVariable Integer pageSize,@PathVariable List<String> selectDate, @RequestBody FinishedOperateLog finishedOperateLog){
+        return Result.seccess(finishedGoodsInventoryService.getSelectAllocateFinishedOperateLog(pageNum,pageSize,selectDate,finishedOperateLog));
     }
 
     /*璁㈠崟棰嗗嚭*/
@@ -151,8 +151,8 @@
     }
     /*璁㈠崟鍙嶅*/
     @ApiOperation("璁㈠崟鍙嶅鎺ュ彛")
-    @PostMapping("/updateFinishedGoodsInventoryCounterexamination")
-    public Result updateFinishedGoodsInventoryCounterexamination( @RequestBody Map<String,Object>  object){
+    @PostMapping("/updateFinishedGoodsInventoryCounterExamination")
+    public Result updateFinishedGoodsInventoryCounterExamination( @RequestBody Map<String,Object>  object){
 
         if(finishedGoodsInventoryService.updateFinishedGoodsInventoryToExamine(object,"鍙嶅")){
             return Result.seccess();
@@ -162,4 +162,45 @@
 
         }
     }
+
+    /*璁㈠崟浣滃簾*/
+    @ApiOperation("璁㈠崟浣滃簾鎺ュ彛")
+    @PostMapping("/cancelFinishedGoodsInventoryToExamine")
+    public Result cancelFinishedGoodsInventoryToExamine( @RequestBody Map<String,Object>  object){
+
+        if(finishedGoodsInventoryService.cancelFinishedGoodsInventoryToExamine(object)){
+            return Result.seccess();
+
+        }else {
+            throw new ServiceException(Constants.Code_500,"棰嗗嚭澶辫触");
+
+        }
+    }
+
+    /*鍑哄叆搴撹褰曟煡璇�*/
+    @ApiOperation("鍑哄叆搴撹褰曟煡璇㈡帴鍙�")
+    @PostMapping("/getSelectStorageRecord/{pageNum}/{pageSize}/{selectDate}/{type}")
+    public Result getSelectStorageRecord(@PathVariable Integer pageNum, @PathVariable Integer pageSize,@PathVariable List<String> selectDate,@PathVariable String type, @RequestBody FinishedOperateLog finishedOperateLog){
+        return Result.seccess(finishedGoodsInventoryService.getSelectStorageRecord(pageNum,pageSize,selectDate,type,finishedOperateLog));
+    }
+
+    /*鍑哄叆搴撹繑鍥�*/
+    @ApiOperation("鍑哄叆搴撹繑鍥炴帴鍙�")
+    @PostMapping("/cancelFinishedGoodsInventoryStorage")
+    public Result cancelFinishedGoodsInventoryStorage( @RequestBody Map<String,Object>  object){
+
+        if(finishedGoodsInventoryService.cancelFinishedGoodsInventoryStorage(object)){
+            return Result.seccess();
+
+        }else {
+            throw new ServiceException(Constants.Code_500,"杩斿洖澶辫触");
+
+        }
+    }
+
+    @ApiOperation("鎴愬搧搴撳瓨璁板綍鏌ヨ鎺ュ彛")
+    @PostMapping("/getSelectFinishedOperateLogReport/{pageNum}/{pageSize}/{selectDate}")
+    public Result getSelectFinishedOperateLogReport(@PathVariable Integer pageNum, @PathVariable Integer pageSize,@PathVariable List<String> selectDate, @RequestBody FinishedOperateLog finishedOperateLog){
+        return Result.seccess(finishedGoodsInventoryService.getSelectFinishedOperateLogReport(pageNum,pageSize,selectDate,finishedOperateLog));
+    }
 }

--
Gitblit v1.8.0