From c3617b473555b7b37755f92a04e258f0e55f333d Mon Sep 17 00:00:00 2001
From: L <L@123>
Date: 星期四, 08 一月 2026 09:13:18 +0800
Subject: [PATCH] *

---
 src/main/java/com/zy/asrs/entity/WrkMast.java |   35 ++++++++++++++++++++++++++++++++++-
 1 files changed, 34 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/WrkMast.java b/src/main/java/com/zy/asrs/entity/WrkMast.java
index 30bdbc0..7d690cf 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMast.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -4,6 +4,7 @@
 import com.baomidou.mybatisplus.annotations.TableId;
 import com.baomidou.mybatisplus.annotations.TableName;
 import com.baomidou.mybatisplus.enums.IdType;
+import com.baomidou.mybatisplus.mapper.EntityWrapper;
 import com.zy.asrs.service.*;
 import com.zy.system.entity.User;
 import com.zy.system.service.UserService;
@@ -67,7 +68,7 @@
 
 
     /**
-     * 寰愬伐姹変簯鎷嗗灈鏍囪  0: 鏈媶  1: 宸叉媶
+     * 寰愬伐姹変簯鎷嗗灈鏍囪  0: 鍒濆 1銆佹湭鎷嗗凡涓婃姤  2: 宸叉媶  3:宸插鐞嗗彲涓嬩竴姝ワ紙杞巻鍙叉。锛�
      */
     @ApiModelProperty(value= "")
     @TableField("sheet_no")
@@ -395,6 +396,18 @@
         return null;
     }
 
+    public Integer getStaNoCar$(){
+        BasDevpService service = SpringUtils.getBean(BasDevpService.class);
+        BasDevp basDevp = service.selectById(this.staNo);
+        if (!Cools.isEmpty(basDevp)){
+            if (basDevp.getDevNo()==1901){
+                return 122;
+            }
+            return basDevp.getDevNo();
+        }
+        return null;
+    }
+
     public String getSourceLocNo$(){
         LocMastService service = SpringUtils.getBean(LocMastService.class);
         LocMast locMast = service.selectById(this.sourceLocNo);
@@ -499,6 +512,26 @@
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime);
     }
 
+    public String getSheetNo$(){
+        if (null == this.sheetNo){ return "鏈煡"; }
+        switch (this.sheetNo){
+            case "0":
+                return "榛樿";
+            case "1":
+                return "鏈烘鑷傛姄鍙栦腑";
+            case "2":
+                return "鎶撳彇瀹屾垚";
+            case "3":
+                return "浠诲姟瀹屾垚";
+            case "4":
+                return "鏈烘鑷傛姄鍙栦腑";
+            case "5":
+                return "鐮佸灈瀹屾垚";
+            default:
+                return this.sheetNo;
+        }
+    }
+
 
 
 }

--
Gitblit v1.9.1