From e3b8bc50db4cf9d5fcac58b56d1cb7e25154c3a6 Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期五, 09 八月 2024 10:34:26 +0800
Subject: [PATCH] #改造

---
 src/main/java/com/zy/asrs/entity/WrkMast.java |   42 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 42 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 3438b83..81b31be 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMast.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -74,6 +74,13 @@
     @TableField("ste_no")
     private Integer steNo;
 
+    /**
+     * 杈圭紭搴撲綅
+     */
+    @ApiModelProperty(value= "杈圭紭搴撲綅")
+    @TableField("out_most")
+    private Integer outMost;
+
     @ApiModelProperty(value= "")
     @TableField("sheet_no")
     private String sheetNo;
@@ -373,6 +380,29 @@
         }
         return null;
     }
+    public Integer getStaNoConvert(Integer crnNo){
+        switch (this.staNo){
+            case 114:
+                switch (crnNo){
+                    case 1:
+                        return 114;
+                    case 2:
+                        return 107;
+                    case 3:
+                        return 211;
+                }
+            case 214:
+                switch (crnNo){
+                    case 1:
+                        return 111;
+                    case 2:
+                        return 207;
+                    case 3:
+                        return 214;
+                }
+        }
+        return this.staNo;
+    }
 
     public String getSourceStaNo$(){
         BasDevpService service = SpringUtils.getBean(BasDevpService.class);
@@ -491,4 +521,16 @@
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime);
     }
 
+    public String getOutMost$() {
+        if (null == this.outMost){ return null; }
+        switch (this.outMost){
+            case 1:
+                return "杈圭紭搴撲綅";
+            case 0:
+                return "鍐呰仈搴撲綅";
+            default:
+                return String.valueOf(this.outMost);
+        }
+    }
+
 }

--
Gitblit v1.9.1