From 3d61ab52a458045d499a8ad62ed9033a64be8792 Mon Sep 17 00:00:00 2001 From: pjb <123456> Date: 星期二, 17 六月 2025 18:24: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