| | |
| | | @ApiOperation("删除仓库管理") |
| | | @DeleteMapping("/{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) { |
| | | slStoreManagementService.removeById(id); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PostMapping("/getStoreManagementOne") |
| | | @GetMapping("/getStoreManagementOne/{id}") |
| | | @ApiOperation(value = "仓库管理詳情") |
| | | public R<SlStoreManagement> getStoreManagementOne( @ApiParam(name = "id", value = "仓库管理id", required = true) @PathVariable("id") Integer id) { |
| | | public R<SlStoreManagement> getStoreManagementOne( @ApiParam(name = "id", value = "仓库管理id", required = true) @PathVariable("id") Long id) { |
| | | return R.ok(slStoreManagementService.getById(id)); |
| | | } |
| | | |