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 | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/Mat.java b/src/main/java/com/zy/asrs/entity/Mat.java index bb98001..aae5257 100644 --- a/src/main/java/com/zy/asrs/entity/Mat.java +++ b/src/main/java/com/zy/asrs/entity/Mat.java @@ -306,6 +306,22 @@ @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() {} public Mat(String uuid,Long tagId,String matnr,String maktx,String name,String specs,String model,String color,String brand,String unit,Double price,String sku,Double units,String barcode,String origin,String manu,String manuDate,String itemNum,Double safeQty,Double weight,Double length,Double volume,String threeCode,String supp,String suppCode,Integer beBatch,String deadTime,Integer deadWarn,Integer source,Integer inspect,Integer danger,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { @@ -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