From 439dd3583f2ea745aa5e70ce26f3489d75c90912 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期四, 25 一月 2024 15:07:28 +0800 Subject: [PATCH] pla增加库位导入功能 货主档案增加导入导出功能 pla表头固定 --- src/main/java/com/zy/asrs/entity/Pla.java | 69 +++++++++++++++++++++++++++------- 1 files changed, 55 insertions(+), 14 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/Pla.java b/src/main/java/com/zy/asrs/entity/Pla.java index 9b7a25b..e3029ec 100644 --- a/src/main/java/com/zy/asrs/entity/Pla.java +++ b/src/main/java/com/zy/asrs/entity/Pla.java @@ -76,11 +76,11 @@ //閲嶉噺 @TableField("weight") - @ExcelProperty(value = "閲嶉噺") + @ExcelProperty(value = "閲嶉噺KG") private Double weight; @ApiModelProperty(value= "鍗曚綅") - @ExcelProperty(value = "鍗曚綅") + //@ExcelProperty(value = "鍗曚綅") @TableField("unit") private String unit; @@ -101,27 +101,27 @@ //鐔旀寚 @TableField("finger_melting") - @ExcelProperty(value = "鐔旀寚") + @ExcelProperty(value = "鐔旀寚,g/10min") private Double fingerMelting; //姘村垎 @TableField("water") - @ExcelProperty(value = "姘村垎") + @ExcelProperty(value = "姘村垎,ppm") private Double water; //鐔旂偣 @TableField("fusing_point") - @ExcelProperty(value = "鐔旂偣") + @ExcelProperty(value = "鐔旂偣,鈩�") private Double fusingPoint; //鎸ュ彂浠�1 @TableField("vadf1") - @ExcelProperty(value = "鎸ュ彂浠�1") + @ExcelProperty(value = "鎸ュ彂娈�,%") private Double vadf1; //鎸ュ彂浠�2 @TableField("vadf2") - @ExcelProperty(value = "鎸ュ彂浠�2") + @ExcelProperty(value = "鍒嗚В娈�,%") private Double vadf2; //榛勫害 @@ -131,32 +131,57 @@ //涓嶉�忔槑搴� @TableField("opacity") - @ExcelProperty(value = "涓嶉�忔槑搴�") + @ExcelProperty(value = "涓嶉�忔槑搴�,%") private Double opacity; //L鍊� @TableField("l") - @ExcelProperty(value = "l鍊�") + @ExcelProperty(value = "L*") private Double l; //a鍊� @TableField("a") - @ExcelProperty(value = "a鍊�") + @ExcelProperty(value = "a*") private Double a; //b鍊� @TableField("b") - @ExcelProperty(value = "b鍊�") + @ExcelProperty(value = "b*") private Double b; //濉厖 @TableField("fill_in") - @ExcelProperty(value = "濉厖") + @ExcelProperty(value = "濉厖,%") private Double fillIn; + + @ExcelProperty(value = "鎷変几寮哄害,MPa") + private String str1; + + @ExcelProperty(value = "鏂浼搁暱鐜�,%") + private String str2; + + @ExcelProperty(value = "缂哄彛鍐插嚮,KJ/m2") + private String str3; + + @ExcelProperty(value = "缁村崱,鈩�") + private String str4; + + @ExcelProperty(value = "鍗婄粨鏅舵椂闂�,min") + private String str5; + + @ExcelProperty(value = "缁撴櫠搴�.%") + private String str6; + +// @ExcelProperty(value = "濉厖") + private String str7; +// +// @ExcelProperty(value = "濉厖") + private String str8; + //璐ㄩ噺鐘舵�� @TableField("mass_state") - @ExcelProperty(value = "璐ㄩ噺鐘朵綋") + @ExcelProperty(value = "璐ㄩ噺鐘舵��") private String massState; //璐ㄩ噺闂 @@ -189,7 +214,7 @@ //搴撲綅 @TableField("loc_no") - //@ExcelProperty(value = "搴撲綅") + @ExcelProperty(value = "搴撲綅") private String locNo; //鐘舵�� @@ -236,10 +261,26 @@ @TableField("memo") private String memo; + @TableField("stock_freeze") + private int stockFreeze; + + @TableField("stock_freeze_by") + private String stockFreezeBy; + + @TableField("stock_freeze_date") + private Date stockFreezeDate; + public String getPakinTime$() { if (Cools.isEmpty(this.pakinTime)){ return ""; } return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.pakinTime); } + + public String getStockFreezeDate$() { + if (Cools.isEmpty(this.stockFreezeDate)){ + return ""; + } + return new SimpleDateFormat("yyyy-MM-dd").format(this.stockFreezeDate); + } } -- Gitblit v1.9.1