From 657b0e6cbc3fcc386024889d41608e9da279b899 Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期五, 20 十二月 2024 15:33:24 +0800 Subject: [PATCH] 新增银座2楼地图SQL脚本 --- src/main/java/com/zy/common/service/AgvCommonService.java | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 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..b3b3a6a 100644 --- a/src/main/java/com/zy/common/service/AgvCommonService.java +++ b/src/main/java/com/zy/common/service/AgvCommonService.java @@ -114,7 +114,13 @@ try{ // 寮�濮嬫煡鎵惧簱浣� ==============================>> - locMast = getLocNoRule(type,floor,isEmpty,isCurrLev); + //濡傛灉鏄崐鎴愬搧绠卞3 + if (type == 6) { + + }else { + //涓嶅姩杩欎釜閫昏緫 + locMast = getLocNoRule(type,floor,isEmpty,isCurrLev); + } if (locMast != null) { return locMast; } @@ -238,7 +244,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