From 6965db086df978e46e0a1bd7227b981ad48a9b1c Mon Sep 17 00:00:00 2001 From: chenlu <1320612696@qq.com> Date: 星期二, 20 二月 2024 16:19:52 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override --- 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