pjb
2025-06-19 eb42d8c04b0eda4795d8e1909949bf820701ac7f
zy-asrs-wms/src/main/java/com/zy/asrs/wms/utils/LocUtils.java
@@ -371,8 +371,8 @@
        LambdaQueryWrapper<Loc> queryWrapper = new LambdaQueryWrapper<>();
        queryWrapper.in(Loc::getId, locIdList);
        queryWrapper.eq(Loc::getLocStsId, LocStsType.O.val());
        queryWrapper.le(Loc::getRow1,4);
        queryWrapper.orderByAsc(Loc::getLev1,Loc::getBay1);
        queryWrapper.le(Loc::getRow1,26);
        queryWrapper.orderByAsc(Loc::getLev1).orderByDesc(Loc::getBay1).orderByAsc(Loc::getRow1);
        queryWrapper.last("limit 1");
        return locService.getOne(queryWrapper);