From dbec8a881baf27254a13f1f9c7b0167b9f064ab5 Mon Sep 17 00:00:00 2001 From: chenlu <1320612696@qq.com> Date: 星期五, 15 三月 2024 15:36:09 +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 | 21 +++++++++++++++++++++ 1 files changed, 21 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 38b1854..195de03 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 @@ -176,4 +176,25 @@ } } + + /*鍑哄叆搴撹褰曟煡璇�*/ + @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,"杩斿洖澶辫触"); + + } + } } -- Gitblit v1.8.0