| | |
| | | package com.ruoyi.warehouse.controller; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | @GetMapping("/list") |
| | | @ApiOperation("商品货架行列-查询") |
| | | @Log(title = "商品货架行列-查询", businessType = BusinessType.OTHER) |
| | | public AjaxResult list() { |
| | | List<WarehouseGoodsShelvesRowcol> list = warehouseGoodsShelvesRowcolService.list(); |
| | | public AjaxResult list(Long warehouseGoodsShelvesId) { |
| | | List<WarehouseGoodsShelvesRowcol> list = warehouseGoodsShelvesRowcolService.list(new QueryWrapper<WarehouseGoodsShelvesRowcol>().lambda() |
| | | .eq(WarehouseGoodsShelvesRowcol::getWarehouseGoodsShelvesId, warehouseGoodsShelvesId)); |
| | | return AjaxResult.success(list); |
| | | } |
| | | // @GetMapping("/listPage") |