From 9dcd90dc8e329900e6058ac0a3aa44a9e7e04599 Mon Sep 17 00:00:00 2001 From: chenhj <1263187585@qq.com> Date: 星期六, 14 六月 2025 15:45:24 +0800 Subject: [PATCH] 库存明细,以及库存数量更新方法,库存节点存储 --- main-business/src/main/java/com/ruoyi/business/controller/PendingInventoryController.java | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/main-business/src/main/java/com/ruoyi/business/controller/PendingInventoryController.java b/main-business/src/main/java/com/ruoyi/business/controller/PendingInventoryController.java index 0968c40..979fe45 100644 --- a/main-business/src/main/java/com/ruoyi/business/controller/PendingInventoryController.java +++ b/main-business/src/main/java/com/ruoyi/business/controller/PendingInventoryController.java @@ -23,25 +23,34 @@ @RequestMapping("/pendingInventory") public class PendingInventoryController { - private PendingInventoryService pendingInventoryService; + private PendingInventoryService pendingInventoryService; /** * 寰呭叆搴撹〃鏌ヨ */ @GetMapping("/list") public R<IPage<PendingInventory>> list(Page page, PendingInventoryDto pendingInventoryDto) { - IPage<PendingInventory> list = pendingInventoryService.selectPendingInventoryList(page,pendingInventoryDto); + IPage<PendingInventory> list = pendingInventoryService.selectPendingInventoryList(page, pendingInventoryDto); return R.ok(list); } /** - * 鏂板淇敼 + * 寰呭叆搴撴柊澧炰慨鏀� */ @PostMapping("/addOrEditPending") public R addOrEditPending(@RequestBody PendingInventoryDto pendingInventoryDto) { return R.ok(pendingInventoryService.addOrEditPending(pendingInventoryDto)); } + + /** + * 寰呭叆搴撶叅璐ㄦ柟妗堝�间慨鏀逛繚瀛� + */ + @PostMapping("/addOrEditCoalValue") + public R addOrEditCoalValue(@RequestBody PendingInventoryDto pendingInventoryDto) { + return R.ok(pendingInventoryService.addOrEditCoalValue(pendingInventoryDto)); + } + /** * 鍒犻櫎 */ -- Gitblit v1.9.3