From c0efb2e8358f4e7ee0774c340afd453c3d0c2471 Mon Sep 17 00:00:00 2001 From: liding <756868258@qq.com> Date: 星期二, 10 六月 2025 17:19:03 +0800 Subject: [PATCH] 1.待入库煤质维护入正式库 2.电子档案tree --- 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