From a647b566ec67a55a50b1a8a8e95abc2cd64aeea6 Mon Sep 17 00:00:00 2001
From: yxFwq <1>
Date: 星期五, 29 十一月 2024 16:27:45 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/entity/WrkMast.java | 66 ++++++++++++++++++++++++++++++++
1 files changed, 65 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 69eb8d2..f609b83 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMast.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -75,7 +75,7 @@
private Integer rgvNo;
/**
- * 寰愬伐姹変簯鎷嗗灈鏍囪 0: 鏈媶 1: 宸叉媶 2:宸插鐞嗗彲涓嬩竴姝ワ紙杞巻鍙叉。锛�
+ * 寰愬伐姹変簯鎷嗗灈鏍囪 0: 鍒濆 1銆佹湭鎷嗗凡涓婃姤 2: 宸叉媶 3:宸插鐞嗗彲涓嬩竴姝ワ紙杞巻鍙叉。锛�
*/
@ApiModelProperty(value= "")
@TableField("sheet_no")
@@ -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,61 @@
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 2;
+ case 312:
+ return 1;
+ 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