| | |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.utils.page.PageDTO; |
| | | import com.ruoyi.management.domain.SlGoodsMaterials; |
| | | import com.ruoyi.management.domain.SlGoodsShelf; |
| | | import com.ruoyi.management.domain.SlStoreManagement; |
| | | import com.ruoyi.management.domain.SlStoreManagementImg; |
| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/sl-goods-shelf") |
| | | @Api(value = "货架接口", tags = "货架接口", description = "货架接口") |
| | | @Api(value = "货架管理", tags = "货架管理", description = "货架管理") |
| | | public class SlGoodsShelfController { |
| | | |
| | | @Resource |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @GetMapping("/SlGoodsShelf/{id}") |
| | | @ApiOperation(value = "货架管理详情") |
| | | public R<SlGoodsShelfVO> getSlGoodsShelfOne(@ApiParam(name = "id", value = "货架管理id", required = true) @PathVariable("id") Long id) { |
| | | return R.ok(slGoodsShelfService.getSlGoodsShelfOne(id)); |
| | | } |
| | | |
| | | @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) { |
| | | slGoodsShelfService.removeById(id); |
| | | return R.ok(); |
| | | } |
| | |
| | | } |
| | | |
| | | @PostMapping("/getStoreManagementimgSheif") |
| | | @ApiOperation(value = "获取仓库管理平面圖的仓库") |
| | | @ApiOperation(value = "获取仓库管理平面圖的货架") |
| | | public R<List<SlGoodsShelf>> getStoreManagementimgSheif(@RequestBody GoodsShelfDTO goodsShelfDTO) { |
| | | return R.ok(slGoodsShelfService.getStoreManagementimgSheif(goodsShelfDTO)); |
| | | } |