| | |
| | | @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)); |
| | | } |
| | | |
| | | /** |
| | | * 删除 |
| | | */ |