From b49345c85dfad9d73c6b88b54679ad5de9dbfe3c Mon Sep 17 00:00:00 2001
From: yxFwq <1>
Date: 星期日, 24 十一月 2024 09:43:44 +0800
Subject: [PATCH] #

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

diff --git a/src/main/java/com/zy/asrs/entity/WrkMast.java b/src/main/java/com/zy/asrs/entity/WrkMast.java
index a053554..a79adfe 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMast.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -332,6 +332,13 @@
     @TableField("full_plt")
     private String fullPlt;
 
+    /**
+     * 浼寸敓宸ヤ綔鍙�
+     */
+    @ApiModelProperty(value= "浼寸敓宸ヤ綔鍙�")
+    @TableField("work_no_other")
+    private Integer workNoOther;
+
     public String getWrkSts$(){
         BasWrkStatusMapper mapper = SpringUtils.getBean(BasWrkStatusMapper.class);
         BasWrkStatus entity = mapper.selectById(this.wrkSts);
@@ -508,4 +515,30 @@
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime);
     }
 
+    public Integer getIoTypeMes$(){
+        if (this.ioType != 101){
+            return 3;
+        } else {
+            return 1;
+        }
+    }
+
+    public Integer getStaNoSign(){
+        if (this.staNo == null){
+            return 0;
+        } else {
+            switch (this.staNo){
+                case 310:
+                    return 1;
+                case 312:
+                    return 2;
+                case 126:
+                    return 1;
+                case 131:
+                    return 2;
+            }
+        }
+        return 0;
+    }
+
 }

--
Gitblit v1.9.1