| | |
| | | } |
| | | |
| | | @PostMapping("/shelf/group") |
| | | public R shelfGroup(@RequestParam(required = false) Integer row, @RequestParam(required = false) Integer bay) { |
| | | if (null == row || null == bay) { |
| | | public R shelfGroup(@RequestParam(required = false) Integer rowNo, |
| | | @RequestParam(required = false) Integer bayNo) { |
| | | if (null == rowNo || null == bayNo) { |
| | | return R.error(); |
| | | } |
| | | List<Loc> locList = locService.list(new LambdaQueryWrapper<Loc>().eq(Loc::getRow, row).eq(Loc::getBay, bay).orderByAsc(Loc::getLev)); |
| | | List<Loc> locList = locService.list(new LambdaQueryWrapper<Loc>() |
| | | .eq(Loc::getRowNo, rowNo) |
| | | .eq(Loc::getBayNo, bayNo) |
| | | .orderByAsc(Loc::getLevNo)); |
| | | return R.ok().add(locList); |
| | | } |
| | | |