From 5477e673d28e407d52b887f624af87d8bcaff7ed Mon Sep 17 00:00:00 2001 From: dubin <dubin@163.com> Date: 星期三, 28 五月 2025 16:31:49 +0800 Subject: [PATCH] 电视机ip配置更新和为wms提供输送站点是否有物 --- src/main/java/com/zy/asrs/entity/CommandInfoLog.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/CommandInfoLog.java b/src/main/java/com/zy/asrs/entity/CommandInfoLog.java index 7576aef..31bdbbf 100644 --- a/src/main/java/com/zy/asrs/entity/CommandInfoLog.java +++ b/src/main/java/com/zy/asrs/entity/CommandInfoLog.java @@ -5,6 +5,8 @@ import com.baomidou.mybatisplus.annotations.TableField; import java.text.SimpleDateFormat; import java.util.Date; + +import com.zy.core.enums.CommandType; import org.springframework.format.annotation.DateTimeFormat; import java.text.SimpleDateFormat; import java.util.Date; @@ -212,5 +214,12 @@ return Math.abs(day) + "澶�" + Math.abs(hour) + "灏忔椂" + Math.abs(min) + "鍒�" + Math.abs(s) + "绉�"; } + public String getCommandType$() { + if (Cools.isEmpty(this.commandType)) { + return ""; + } + return CommandType.get(this.commandType).desc; + } + } -- Gitblit v1.9.1