| | |
| | | import com.ruoyi.management.domain.dto.*; |
| | | import com.ruoyi.management.domain.vo.SlGoodsShelfVO; |
| | | import com.ruoyi.management.service.SlGoodsShelfService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/sl-goods-shelf") |
| | | @Api(value = "货架接口", tags = "货架接口", description = "货架接口") |
| | | public class SlGoodsShelfController { |
| | | |
| | | @Resource |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @ApiOperation("删除仓库管理") |
| | | @ApiOperation("删除货架") |
| | | @DeleteMapping("/{id}") |
| | | public R<?> delStoreManagement( |
| | | @ApiParam(name = "id", value = "货架管理id", required = true) @PathVariable("id") Integer id) { |
| | |
| | | } |
| | | |
| | | @PostMapping("/getStoreManagementimgSheif") |
| | | @ApiOperation(value = "獲取仓库管理平面圖的仓库") |
| | | @ApiOperation(value = "获取仓库管理平面圖的仓库") |
| | | public R<List<SlGoodsShelf>> getStoreManagementimgSheif(@RequestBody GoodsShelfDTO goodsShelfDTO) { |
| | | return R.ok(slGoodsShelfService.getStoreManagementimgSheif(goodsShelfDTO)); |
| | | } |
| | | |
| | | @PostMapping("/getGoodsSheManagementlfList") |
| | | @ApiOperation(value = "分页通过仓库和层数货架表管理") |
| | | public R<List<SlGoodsShelf>> getGoodsSheManagementlfList(@RequestBody SlGoodsShelfQuery slGoodsShelfQuery) { |
| | | return R.ok(slGoodsShelfService.getGoodsSheManagementlfList(slGoodsShelfQuery)); |
| | | } |
| | | |
| | | } |