From 1af3b14449eb33792e606185c55643bca53efbb7 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期三, 07 六月 2023 16:50:52 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/WaitPakinLog.java | 35 +++++++++++++++++++++++++++++------ 1 files changed, 29 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/WaitPakinLog.java b/src/main/java/com/zy/asrs/entity/WaitPakinLog.java index 79e4cbd..2128b5f 100644 --- a/src/main/java/com/zy/asrs/entity/WaitPakinLog.java +++ b/src/main/java/com/zy/asrs/entity/WaitPakinLog.java @@ -32,7 +32,7 @@ @ApiModelProperty(value= "鍟嗗搧鍚嶇О") private String maktx; - @ApiModelProperty(value= "鎵瑰彿") + @ApiModelProperty(value= "搴忓垪鐮�") private String batch; @ApiModelProperty(value= "鍗曟嵁缂栧彿") @@ -120,7 +120,7 @@ private Integer source; @ApiModelProperty(value= "瑕佹眰妫�楠� 1: 鏄� 0: 鍚� ") - private Integer check; + private Integer inspect; @ApiModelProperty(value= "鍗遍櫓鍝� 1: 鏄� 0: 鍚� ") private Integer danger; @@ -151,6 +151,13 @@ @ApiModelProperty(value= "澶囨敞") private String memo; + /** + * 鐗╂枡绫诲瀷{1:鍗曞搧,2:楂橀,3:娣锋斁} + */ + @ApiModelProperty(value= "鐗╂枡绫诲瀷") + @TableField("mat_type") + private Integer matType; + public String getBeBatch$(){ if (null == this.beBatch){ return null; } switch (this.beBatch){ @@ -177,15 +184,15 @@ } } - public String getCheck$(){ - if (null == this.check){ return null; } - switch (this.check){ + public String getInspect$(){ + if (null == this.inspect){ return null; } + switch (this.inspect){ case 1: return "鏄�"; case 0: return "鍚�"; default: - return String.valueOf(this.check); + return String.valueOf(this.inspect); } } @@ -215,4 +222,20 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime); } + public String getMatType$() { + if (this.matType == null) { + return ""; + } + switch (this.matType) { + case 1: + return "鍗曞搧"; + case 2: + return "楂橀"; + case 3: + return "娣锋斁"; + default: + return ""; + } + } + } -- Gitblit v1.9.1