From d9eeceed86c1ce43c73dda00a108595a078a8f3d Mon Sep 17 00:00:00 2001 From: lsh <lsh@163.com> Date: 星期四, 29 五月 2025 18:44:53 +0800 Subject: [PATCH] * --- src/main/java/com/zy/asrs/entity/WrkMast.java | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 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 8256bfa..f8df8f5 100644 --- a/src/main/java/com/zy/asrs/entity/WrkMast.java +++ b/src/main/java/com/zy/asrs/entity/WrkMast.java @@ -551,6 +551,53 @@ 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