From dcdb2b8cf1b0c5d05900acec72c80caf3bb5616c Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期五, 07 三月 2025 10:14:34 +0800 Subject: [PATCH] 兼容ctu库容器条码 --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/utils/LocUtils.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/utils/LocUtils.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/utils/LocUtils.java index 711fc01..c2e5956 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/utils/LocUtils.java +++ b/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); -- Gitblit v1.9.1