From 2a0e1165604cafa91237a8196a4e681e297fbaab Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 02 三月 2026 17:24:36 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/utils/NavigateUtils.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/common/utils/NavigateUtils.java b/src/main/java/com/zy/common/utils/NavigateUtils.java
index 558414c..ef8909d 100644
--- a/src/main/java/com/zy/common/utils/NavigateUtils.java
+++ b/src/main/java/com/zy/common/utils/NavigateUtils.java
@@ -58,7 +58,8 @@
         News.info("[WCS Debug] 绔欑偣璺緞寮�濮嬭绠�,startStationId={},endStationId={}", startStationId, endStationId);
         List<List<NavigateNode>> allList = navigateSolution.allSimplePaths(stationMap, startNode, endNode, 120, 500, 300);
         if (allList.isEmpty()) {
-            throw new CoolException("鏈壘鍒拌璺緞");
+//            throw new CoolException("鏈壘鍒拌璺緞");
+            return new ArrayList<>();
         }
         News.info("[WCS Debug] 绔欑偣璺緞璁$畻瀹屾垚锛岃�楁椂锛歿}ms", System.currentTimeMillis() - startTime);
 
@@ -115,7 +116,8 @@
         News.info("[WCS Debug] RGV璺緞寮�濮嬭绠�,startTrackSiteNo:{},endTrackSiteNo={}", startTrackSiteNo, endTrackSiteNo);
         NavigateNode res_node = navigateSolution.astarSearchJava(rgvTrackMap, startNode, endNode);
         if (res_node == null) {
-            throw new CoolException("鏈壘鍒拌璺緞");
+//            throw new CoolException("鏈壘鍒拌璺緞");
+            return new ArrayList<>();
         }
         News.info("[WCS Debug] RGV璺緞璁$畻瀹屾垚锛岃�楁椂锛歿}ms", System.currentTimeMillis() - startTime);
 

--
Gitblit v1.9.1