| | |
| | | @Resource |
| | | private SlVolumeProductionRkglService slVolumeProductionRkglService; |
| | | |
| | | |
| | | @Resource |
| | | private SlAuditMapper slAuditMapper; |
| | | |
| | |
| | | return R.ok(slVolumeProductionRkglService.getSupplierVolumeProductionRkglList(supplierVolumeProductionRkglQuery)); |
| | | } |
| | | |
| | | @PostMapping("/getVolumeProductionRkgInfo") |
| | | @GetMapping("/getVolumeProductionRkgInfo/{id}") |
| | | @ApiOperation(value = "获取入库管理详情") |
| | | public R<VolumeProductionRkgInfoVO> getVolumeProductionRkgInfo(@ApiParam(name = "id", value = "入库管理id", required = true) @PathVariable("id") Integer id) { |
| | | public R<VolumeProductionRkgInfoVO> getVolumeProductionRkgInfo(@ApiParam(name = "id", value = "入库管理id", required = true) @PathVariable("id") Long id) { |
| | | return R.ok(slVolumeProductionRkglService.getVolumeProductionRkgInfo(id)); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @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) { |
| | | SlVolumeProductionRkgl byId = slVolumeProductionRkglService.getById(id); |
| | | byId.setPresentState(5); |
| | | byId.setAuditStatus(7); |
| | |
| | | wrapper.eq( SlAudit::getDelFlag,0); |
| | | wrapper.eq(SlAudit::getRkId,id); |
| | | SlAudit slAudit = slAuditMapper.selectOne(wrapper); |
| | | slAudit.setState(6); |
| | | |
| | | if (slAudit!=null){ |
| | | slAudit.setState(6); |
| | | slAuditMapper.updateById(slAudit); |
| | | } |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PostMapping("/getVolumeProductionRkgInventory") |
| | | @GetMapping("/getVolumeProductionRkgInventory/{id}") |
| | | @ApiOperation(value = "获取入库管理打印清单") |
| | | public R<VolumeProductionRkgInventoryVO> getVolumeProductionRkgInventory(@ApiParam(name = "id", value = "入库管理id", required = true) @PathVariable("id") Integer id) { |
| | | public R<VolumeProductionRkgInventoryVO> getVolumeProductionRkgInventory(@ApiParam(name = "id", value = "入库管理id", required = true) @PathVariable("id") Long id) { |
| | | return R.ok(slVolumeProductionRkglService.getVolumeProductionRkgInventory(id)); |
| | | } |
| | | |
| | | @ApiOperation("入库管理入库") |
| | | @DeleteMapping("/rk/{id}") |
| | | public R<?> rk(@ApiParam(name = "id", value = "入库管理id", required = true) @PathVariable("id") Integer id) { |
| | | @GetMapping("/rk/{id}") |
| | | public R<?> rk(@ApiParam(name = "id", value = "入库管理id", required = true) @PathVariable("id") Long id) { |
| | | slVolumeProductionRkglService.rk(id); |
| | | return R.ok(); |
| | | } |