From c904f735e0b8a488ef56744c08f8e10258639bce Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期四, 05 六月 2025 15:54:58 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/entity/WrkMastSta.java |   45 +++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/WrkMastSta.java b/src/main/java/com/zy/asrs/entity/WrkMastSta.java
index 7770c83..53afd3c 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMastSta.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMastSta.java
@@ -144,9 +144,8 @@
         this.staStart = staStart;
         this.staEnd = staEnd;
         this.createTime = now;
-        this.updateTime = now;
         this.wrkSts = 0;
-        this.bignTime = now;
+
     }
 
 //    WrkMastSta wrkMastSta = new WrkMastSta(
@@ -172,6 +171,48 @@
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
     }
 
+    public String getType$() {
+        if (Cools.isEmpty(this.type)) {
+            return "";
+        }
+        switch (this.type) {
+            case 1:
+                return "闈炵┖";
+            case 2:
+                return "绌烘澘";
+            default:
+                return "";
+        }
+    }
+
+    /**
+     * 宸ヤ綔鐘舵�� 0锛氬垵濮� 1锛氱瓑寰呭皬杞﹀彇 2锛氱瓑寰呭皬杞︽斁 3锛氬畬鎴�
+     */
+    public String getWrkSts$() {
+        if (Cools.isEmpty(this.wrkSts)) {
+            try {
+                if (this.wrkSts==0){
+                    return "鍒濆";
+                }
+            }catch (Exception e){
+                return "";
+            }
+            return "";
+        }
+        switch (this.wrkSts) {
+            case 0:
+                return "鍒濆";
+            case 1:
+                return "绛夊緟灏忚溅鍙�";
+            case 2:
+                return "绛夊緟灏忚溅鏀�";
+            case 3:
+                return "瀹屾垚";
+            default:
+                return "";
+        }
+    }
+
     public String getUpdateTime$(){
         if (Cools.isEmpty(this.updateTime)){
             return "";

--
Gitblit v1.9.1