| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PostMapping("/getVolumeProductionCkglnfo") |
| | | @GetMapping("/getVolumeProductionCkglnfo/{id}") |
| | | @ApiOperation(value = "获取出库库管理详情") |
| | | public R<VolumeProductionCkglInfoVO> getVolumeProductionCkglnfo(@ApiParam(name = "id", value = "出库管理id", required = true) @PathVariable("id") Integer id) { |
| | | public R<VolumeProductionCkglInfoVO> getVolumeProductionCkglnfo(@ApiParam(name = "id", value = "出库管理id", required = true) @PathVariable("id") Long id) { |
| | | return R.ok(slVolumeProductionCkglService.getVolumeProductionCkglnfo(id)); |
| | | } |
| | | |
| | | @PostMapping("/getVolumeProductionCkglInventory") |
| | | @PostMapping("/getVolumeProductionCkglInventory/{id}") |
| | | @ApiOperation(value = "获取出库管理打印清单") |
| | | public R<VolumeProductionCkglInventoryVO> getVolumeProductionCkglInventory(@ApiParam(name = "id", value = "入库管理id", required = true) @PathVariable("id") Integer id) { |
| | | public R<VolumeProductionCkglInventoryVO> getVolumeProductionCkglInventory(@ApiParam(name = "id", value = "入库管理id", required = true) @PathVariable("id") Long id) { |
| | | return R.ok(slVolumeProductionCkglService.getVolumeProductionCkglInventory(id)); |
| | | } |
| | | |
| | | @ApiOperation("出库管理出库") |
| | | @DeleteMapping("/ck/{id}") |
| | | public R<?> ck(@ApiParam(name = "id", value = "出库管理id", required = true) @PathVariable("id") Integer id) { |
| | | @GetMapping("/ck/{id}") |
| | | public R<?> ck(@ApiParam(name = "id", value = "出库管理id", required = true) @PathVariable("id") Long id) { |
| | | slVolumeProductionCkglService.ck(id); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @ApiOperation("出库管理归还") |
| | | @DeleteMapping("/gh/{id}") |
| | | public R<?> gh(@ApiParam(name = "id", value = "出库管理id", required = true) @PathVariable("id") Integer id) { |
| | | @GetMapping("/gh/{id}") |
| | | public R<?> gh(@ApiParam(name = "id", value = "出库管理id", required = true) @PathVariable("id") Long id) { |
| | | slVolumeProductionCkglService.gh(id); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @ApiOperation("取消出库管理") |
| | | @DeleteMapping("/{id}") |
| | | @GetMapping("/{id}") |
| | | public R<?> delStoreManagement( |
| | | @ApiParam(name = "id", value = "出库管理id", required = true) @PathVariable("id") Integer id) { |
| | | @ApiParam(name = "id", value = "出库管理id", required = true) @PathVariable("id") Long id) { |
| | | SlVolumeProductionCkgl byId = slVolumeProductionCkglService.getById(id); |
| | | byId.setPresentState(5); |
| | | byId.setAuditStatus(8); |