From 4b0095b48747072f6c1f427a52ec4b73dca0cc75 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 05 十月 2023 10:21:21 +0800
Subject: [PATCH] #设备命令下发增加设备工作号

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

diff --git a/src/main/java/com/zy/common/utils/ShuttleDispatchUtils.java b/src/main/java/com/zy/common/utils/ShuttleDispatchUtils.java
index bee5396..7396b7e 100644
--- a/src/main/java/com/zy/common/utils/ShuttleDispatchUtils.java
+++ b/src/main/java/com/zy/common/utils/ShuttleDispatchUtils.java
@@ -298,6 +298,10 @@
                 continue;
             }
 
+            if (shuttleProtocol.getPoint() == null) {
+                continue;
+            }
+
             if (shuttleProtocol.getPoint().getZ().equals(lev)) {
                 levCount++;//鐩爣妤煎眰鏈夎溅锛屾暟閲忓鍔�
             }

--
Gitblit v1.9.1