From 521aadbbdde31da31a4dce9e35632af5048d67ba Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期五, 03 二月 2023 14:44:54 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/entity/Mat.java | 34 ++++++++++++++++++++++++++++++---- 1 files changed, 30 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/Mat.java b/src/main/java/com/zy/asrs/entity/Mat.java index 95beb7b..420a5f5 100644 --- a/src/main/java/com/zy/asrs/entity/Mat.java +++ b/src/main/java/com/zy/asrs/entity/Mat.java @@ -306,14 +306,29 @@ @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() {} @@ -504,7 +519,7 @@ public String getStoreMax$(){ if (Cools.isEmpty(this.storeMax)) { - return "鏈缃�"; + return ""; }else { return this.storeMax + ""; } @@ -512,7 +527,7 @@ public String getStoreMin$(){ if (Cools.isEmpty(this.storeMin)) { - return "鏈缃�"; + return ""; }else { return this.storeMin + ""; } @@ -520,9 +535,20 @@ public String getStoreMaxDate$(){ if (Cools.isEmpty(this.storeMaxDate)) { - return "鏈缃�"; + return ""; }else { - return this.storeMaxDate + "澶�"; + return this.storeMaxDate + ""; + } + } + + public String getInoutEveryday$(){ + if (this.inoutEveryday == null){ + return "鍚�"; + } + if (this.inoutEveryday){ + return "鏄�"; + }else { + return "鍚�"; } } -- Gitblit v1.9.1