From 59f80df1e377e8775969ca4acadfa2eadd6e37ae Mon Sep 17 00:00:00 2001 From: zhangchao <zc857179121@qq.com> Date: 星期一, 04 十一月 2024 19:01:38 +0800 Subject: [PATCH] excel导出优化 --- src/main/java/com/zy/asrs/entity/AgvWaitPakin.java | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 54 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/AgvWaitPakin.java b/src/main/java/com/zy/asrs/entity/AgvWaitPakin.java index 2dc0a4e..89b879e 100644 --- a/src/main/java/com/zy/asrs/entity/AgvWaitPakin.java +++ b/src/main/java/com/zy/asrs/entity/AgvWaitPakin.java @@ -16,7 +16,7 @@ public class AgvWaitPakin implements Serializable { private static final long serialVersionUID = 1L; - @ApiModelProperty(value= "鎵樼洏鏉$爜") + @ApiModelProperty(value= "璐ф灦鏉$爜") private String zpallet; @ApiModelProperty(value= "鏁伴噺") @@ -151,6 +151,33 @@ @ApiModelProperty(value= "澶囨敞") private String memo; + @ApiModelProperty(value= "璐т綅绫诲瀷 1: 寰呭寘瑁呮垚鍝� 2: 鍘熸潗鏂� 3锛氱澹�") + @TableField("loc_type") + private Integer locType; + + /** + * 宸ュ簭鐘舵�� + */ + @ApiModelProperty(value= "宸ュ簭鐘舵�� 1锛氬緟鍔犲伐锛�2锛氬凡鍔犲伐锛�3锛氭棤闇�鍔犲伐") + @TableField("process_sts") + private Integer processSts; + + public String getProcessSts$(){ + if (null == this.processSts){ return null; } + switch (this.processSts){ + case 0: + return "鍏朵粬"; + case 1: + return "寰呭姞宸�"; + case 2: + return "宸插姞宸�"; + case 3: + return "鏃犻渶鍔犲伐"; + default: + return String.valueOf(this.processSts); + } + } + public String getBeBatch$(){ if (null == this.beBatch){ return null; } switch (this.beBatch){ @@ -160,6 +187,20 @@ return "鍚�"; default: return String.valueOf(this.beBatch); + } + } + + public String getLocType$(){ + if (null == this.locType){ return null; } + switch (this.locType){ + case 1: + return "寰呭寘瑁呮垚鍝�"; + case 2: + return "鍘熸潗鏂�"; + case 3: + return "绠卞3"; + default: + return String.valueOf(this.locType); } } @@ -201,6 +242,18 @@ } } + public String getIoStatus$(){ + if (null == this.ioStatus){ return null; } + switch (this.ioStatus){ + case "N": + return "鏈叆搴�"; + case "Y": + return "鍏ュ簱涓�"; + default: + return this.ioStatus; + } + } + public String getModiTime$(){ if (Cools.isEmpty(this.modiTime)){ return ""; -- Gitblit v1.9.1