From 4149d11f06c462eed17c0b26094f35547aad58cd Mon Sep 17 00:00:00 2001
From: yxFwq <1>
Date: 星期四, 28 十一月 2024 22:52:17 +0800
Subject: [PATCH] #

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

diff --git a/src/main/java/com/zy/asrs/entity/WrkMast.java b/src/main/java/com/zy/asrs/entity/WrkMast.java
index a79adfe..f609b83 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMast.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -529,13 +529,44 @@
         } else {
             switch (this.staNo){
                 case 310:
-                    return 1;
+                    return 2;
                 case 312:
-                    return 2;
-                case 126:
                     return 1;
-                case 131:
+                case 126:
                     return 2;
+                case 131:
+                    return 1;
+            }
+        }
+        return 0;
+    }
+
+    public boolean booleanStaNoSign(){
+        if (this.staNo == null){
+            return false;
+        } else {
+            switch (this.staNo){
+                case 310:
+                case 312:
+                case 126:
+                case 131:
+                    return true;
+            }
+        }
+        return false;
+    }
+
+    public Integer getStaNoBying(){
+        if (this.staNo == null){
+            return 0;
+        } else {
+            switch (this.staNo){
+                case 310:
+                case 312:
+                    return 212;
+                case 126:
+                case 131:
+                    return 119;
             }
         }
         return 0;

--
Gitblit v1.9.1