| | |
| | | LambdaQueryWrapper<LocMast> wrapper1 = new LambdaQueryWrapper<LocMast>() |
| | | .eq(LocMast::getLocSts, "O") |
| | | .eq(LocMast::getHostId, hostId) |
| | | .eq(LocMast::getWhsType, WHS_TYPE) |
| | | .in(LocMast::getRow1, curRow) |
| | | .orderByAsc(LocMast::getBay1) |
| | | .orderByAsc(LocMast::getLev1); |
| | | .orderByAsc(LocMast::getLev1) |
| | | .orderByAsc(LocMast::getBay1); |
| | | |
| | | |
| | | //库位搜索范围 |
| | |
| | | for (LocMast mast : locMasts) { |
| | | LocMast innerLoc = null; |
| | | for (String loc : Utils.getGroupLoc(mast.getLocNo(), hostId)) { |
| | | LocMast one = locMastService.getOne(new LambdaQueryWrapper<LocMast>().eq(LocMast::getLocNo, loc).eq(LocMast::getHostId, hostId).eq(LocMast::getWhsType, WHS_TYPE)); |
| | | LocMast one = locMastService.getOne(new LambdaQueryWrapper<LocMast>().eq(LocMast::getLocNo, loc).eq(LocMast::getHostId, hostId)); |
| | | if (!one.getLocSts().equals("O")) { |
| | | innerLoc = null; |
| | | continue; |