From 2bc10d832acd06bc6511e50405202fde99b0e7c2 Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期六, 18 一月 2025 10:20:25 +0800 Subject: [PATCH] java 优化库位检索逻辑,添加AGV工作明细服务,修复定时任务 --- src/main/java/com/zy/common/service/AgvCommonService.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/common/service/AgvCommonService.java b/src/main/java/com/zy/common/service/AgvCommonService.java index f87765f..e7aded0 100644 --- a/src/main/java/com/zy/common/service/AgvCommonService.java +++ b/src/main/java/com/zy/common/service/AgvCommonService.java @@ -238,7 +238,10 @@ Boolean orderBy = false; int levCount = 0; int times = 1; - if (floor == 1) { + if (floor == 1 || floor >= 4) { + if (floor >= 4 ) { + floor = 1; + } orderBy = true; levCount = 2; } else { -- Gitblit v1.9.1