From d3696ce1ba6071f264aa3db8cc94bf090094a906 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 11 五月 2023 09:19:05 +0800
Subject: [PATCH] 提升机命令封装

---
 src/main/java/com/zy/asrs/domain/vo/ShuttleStateTableVo.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/domain/vo/ShuttleStateTableVo.java b/src/main/java/com/zy/asrs/domain/vo/ShuttleStateTableVo.java
index 8b2d22c..4ef529b 100644
--- a/src/main/java/com/zy/asrs/domain/vo/ShuttleStateTableVo.java
+++ b/src/main/java/com/zy/asrs/domain/vo/ShuttleStateTableVo.java
@@ -210,6 +210,9 @@
     }
 
     public String getStatus$() {
+        if (this.status == null) {
+            return ShuttleProtocolStatusType.OFFLINE.desc;
+        }
         return ShuttleProtocolStatusType.get(this.status).desc;
     }
 

--
Gitblit v1.9.1