From bca970bf91a578c1f21d4d30c003d4bbd3d50148 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 13 三月 2024 15:51:35 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/entity/TaskWrk.java |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/TaskWrk.java b/src/main/java/com/zy/asrs/entity/TaskWrk.java
index 54b3913..b384567 100644
--- a/src/main/java/com/zy/asrs/entity/TaskWrk.java
+++ b/src/main/java/com/zy/asrs/entity/TaskWrk.java
@@ -174,7 +174,7 @@
      */
     @ApiModelProperty(value= "鎸囦护鎵ц姝ュ簭")
     @TableField("command_step")
-    private Integer commandStep;
+    private Integer commandStep = 0;
 
     @ApiModelProperty(value = "绉诲簱鏍囪")
     @TableField("transfer_mark")
@@ -247,6 +247,21 @@
                 return String.valueOf(this.status);
         }
     }
+    public String getIoPri$(){
+        if (null == this.ioPri){ return null; }
+        switch (this.ioPri){
+            case 100:
+                return "浣�";
+            case 200:
+                return "涓�";
+            case 300:
+                return "楂�";
+            case 400:
+                return "绱ф��";
+            default:
+                return String.valueOf(this.ioPri);
+        }
+    }
 
     public String getCreateTime$(){
         if (Cools.isEmpty(this.createTime)){

--
Gitblit v1.9.1