| | |
| | | return R.ok(slGoodsShelfService.getGoodsShelfList(slGoodsShelfQuery)); |
| | | } |
| | | |
| | | @PostMapping("/getBGoodsShelfList") |
| | | @ApiOperation(value = "分页不获货架表管理") |
| | | public R<List<SlGoodsShelf>> getBGoodsShelfList(@RequestBody SlGoodsShelfQuery slGoodsShelfQuery) { |
| | | return R.ok(slGoodsShelfService.getBGoodsShelfList(slGoodsShelfQuery)); |
| | | } |
| | | |
| | | @PostMapping("/addSlGoodsShelf") |
| | | @ApiOperation(value = "添加/修改货架管理") |
| | | public R addSlGoodsShelf(@RequestBody SlGoodsShelfDTO slGoodsShelfDTO) { |
| | |
| | | } |
| | | |
| | | @PostMapping("/wfanzGoodsShelfList") |
| | | @ApiOperation(value = "货架获取未放置") |
| | | @ApiOperation(value = "货架获放置") |
| | | public R<List<SlGoodsShelf>> wfanzGoodsShelfList(@RequestBody GoodsShelfQuery goodsShelfQuery) { |
| | | return R.ok(slGoodsShelfService.wfanzGoodsShelfList(goodsShelfQuery)); |
| | | } |
| | | |
| | | @PostMapping("/wfanzGoodsShelfListDel/{id}") |
| | | @ApiOperation(value = "货架获放置删除") |
| | | public R wfanzGoodsShelfListDel( |
| | | @ApiParam(name = "id", value = "货架管理id", required = true) @PathVariable("id") Long id){ |
| | | SlGoodsShelf byId = slGoodsShelfService.getById(id); |
| | | byId.setIsStoreManagement(1); |
| | | slGoodsShelfService.updateById(byId); |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PostMapping("/fanzGoodsShelfList") |
| | | @ApiOperation(value = "货架放置到图片") |
| | | public R fanzGoodsShelfList(@RequestBody GoodsShelfDTO goodsShelfDTO) { |