From 6ffc119998de63d0c6c6c356612b555a5da8ab4e Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期一, 03 四月 2023 08:13:04 +0800 Subject: [PATCH] 提升机判断显示否空闲方法null异常修复 --- src/main/java/com/zy/asrs/domain/vo/ShuttleStateTableVo.java | 2 +- 1 files changed, 1 insertions(+), 1 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 abc0597..f12d095 100644 --- a/src/main/java/com/zy/asrs/domain/vo/ShuttleStateTableVo.java +++ b/src/main/java/com/zy/asrs/domain/vo/ShuttleStateTableVo.java @@ -129,7 +129,7 @@ public void setStatusErrorCode(Short statusErrorCode) { this.statusErrorCode = statusErrorCode; - this.errorCodeType = ShuttleErrorCodeType.get(statusErrorCode); + this.errorCodeType = ShuttleErrorCodeType.get(statusErrorCode.intValue()); } public void setStatusErrorCode(ShuttleErrorCodeType type) { -- Gitblit v1.9.1