From 103c9cfb51142885dd2b5e7332e6de3bf63d631a Mon Sep 17 00:00:00 2001 From: mrzhssss <pro6@qq.com> Date: 星期五, 28 十月 2022 15:46:02 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/Mat.java | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 52 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..aae5257 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,22 @@ @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; + + /** + * 鏄惁涓洪绻佸叆鍑哄簱鐗╂枡 + */ + @TableField("inout_everyday") + private Boolean inoutEveryday; + public Mat() {} @@ -492,4 +508,39 @@ } + 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 + "澶�"; + } + } + + public String getInoutEveryday$(){ + if (this.inoutEveryday == null){ + return "鍚�"; + } + if (this.inoutEveryday){ + return "鏄�"; + }else { + return "鍚�"; + } + } + } -- Gitblit v1.9.1