From bf5d87c751bf4ba9578b5ad93b5018d4bd6d3ccf Mon Sep 17 00:00:00 2001 From: pjb <123456> Date: 星期四, 03 七月 2025 17:10:22 +0800 Subject: [PATCH] 亮灯流程优化 --- 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