From d60e84cbedb554555578f071de95c4a8049183db Mon Sep 17 00:00:00 2001 From: yxFwq <1> Date: 星期五, 13 六月 2025 15:16:43 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/WrkMast.java | 69 ++++++++++++++++++++++++++++++++++ 1 files changed, 68 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 776f92a..f8df8f5 100644 --- a/src/main/java/com/zy/asrs/entity/WrkMast.java +++ b/src/main/java/com/zy/asrs/entity/WrkMast.java @@ -515,7 +515,8 @@ case "1": return "鏈烘鑷傛姄鍙栦腑"; case "2": - return "鎶撳彇瀹屾垚"; + return "瀹屾垚"; +// return "鎶撳彇瀹屾垚"; case "3": return "浠诲姟瀹屾垚"; case "4": @@ -532,5 +533,71 @@ } + 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; + } + + 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; + } + + public boolean booleanStaNoSignOther(){ + if (this.staNo == null){ + return true; + } else { + switch (this.staNo){ + case 144: + case 145: + case 152: + case 153: + return false; + } + } + return true; + } + + + } -- Gitblit v1.9.1