From 30eec1f6c7424fa5864b7f04abc55683071133e7 Mon Sep 17 00:00:00 2001 From: LSH <brook_w@163.com> Date: 星期六, 13 八月 2022 10:32:18 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/LocMast.java | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/LocMast.java b/src/main/java/com/zy/asrs/entity/LocMast.java index 23d8301..51bfdb0 100644 --- a/src/main/java/com/zy/asrs/entity/LocMast.java +++ b/src/main/java/com/zy/asrs/entity/LocMast.java @@ -176,6 +176,21 @@ @TableField("ctn_no") private String ctnNo; +// 娑堥槻鐐圭紪鍙� + @ApiModelProperty(value= "") + @TableField("fire_no") + private String fireNo; + +// 娑堥槻鐘舵�亄0:姝e父,1:鎶ヨ} + @ApiModelProperty(value= "") + @TableField("fire_status") + private Integer fireStatus; + +// 浜у搧鐘舵�亄0:鏃�,1:寰呮祴,2:娴嬭瘯涓�;3.闈欑疆涓�;4:闈欑疆瀹屾垚} + @ApiModelProperty(value= "") + @TableField("pack_status") + private Integer packStatus; + public String getWhsType$(){ BasWhsService service = SpringUtils.getBean(BasWhsService.class); @@ -290,4 +305,34 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime); } + public String getFireStatus$() { + if (null == this.fireStatus){ return null; } + switch (this.fireStatus){ + case 0: + return "姝e父"; + case 1: + return "鎶ヨ"; + default: + return String.valueOf(this.fireStatus); + } + } + + public String getPackStatus$() { + if (null == this.packStatus){ return null; } + switch (this.packStatus){ + case 0: + return "鏃�"; + case 1: + return "寰呮祴"; + case 2: + return "娴嬭瘯涓�"; + case 3: + return "闈欑疆涓�"; + case 4: + return "闈欑疆瀹屾垚"; + default: + return String.valueOf(this.packStatus); + } + } + } -- Gitblit v1.9.1