From 6599114495a190322f93b65e4124c31d50953a12 Mon Sep 17 00:00:00 2001 From: mrzhssss <pro6@qq.com> Date: 星期三, 26 十月 2022 10:57:53 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/Mat.java | 36 +++++++++++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/Mat.java b/src/main/java/com/zy/asrs/entity/Mat.java index 0a02150..95beb7b 100644 --- a/src/main/java/com/zy/asrs/entity/Mat.java +++ b/src/main/java/com/zy/asrs/entity/Mat.java @@ -151,7 +151,7 @@ * 鍘傚 */ @ApiModelProperty(value= "鍘傚") - @ExcelProperty(value = "鍟嗗搧缂栧彿") + @ExcelProperty(value = "鍘傚") private String manu; /** @@ -305,6 +305,16 @@ @ApiModelProperty(value= "澶囨敞") @ExcelProperty(value = "澶囨敞") private String memo; + + @TableField("store_max") + private Double storeMax; + + @TableField("store_min") + private Double storeMin; + + @TableField("store_max_date") + private Integer storeMaxDate; + public Mat() {} @@ -492,4 +502,28 @@ } + public String getStoreMax$(){ + if (Cools.isEmpty(this.storeMax)) { + return "鏈缃�"; + }else { + return this.storeMax + ""; + } + } + + public String getStoreMin$(){ + if (Cools.isEmpty(this.storeMin)) { + return "鏈缃�"; + }else { + return this.storeMin + ""; + } + } + + public String getStoreMaxDate$(){ + if (Cools.isEmpty(this.storeMaxDate)) { + return "鏈缃�"; + }else { + return this.storeMaxDate + "澶�"; + } + } + } -- Gitblit v1.9.1