liding
2 天以前 c0efb2e8358f4e7ee0774c340afd453c3d0c2471
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));
    }
    /**
     * 删除
     */