From 1983ad87b61ccea8a24216bd9e9b44877abf2c01 Mon Sep 17 00:00:00 2001 From: zc <zc@123> Date: 星期三, 23 四月 2025 18:08:38 +0800 Subject: [PATCH] 初步完成调试 --- src/main/java/com/zy/asrs/entity/Mat.java | 28 +++++++++++++++++++++++++--- 1 files changed, 25 insertions(+), 3 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..18e4fed 100644 --- a/src/main/java/com/zy/asrs/entity/Mat.java +++ b/src/main/java/com/zy/asrs/entity/Mat.java @@ -8,6 +8,7 @@ import com.core.common.Cools; import com.core.common.SpringUtils; import com.zy.asrs.service.TagService; +import com.zy.common.utils.Synchro; import com.zy.system.entity.User; import com.zy.system.service.UserService; import io.swagger.annotations.ApiModelProperty; @@ -58,8 +59,8 @@ /** * 鍟嗗搧缂栧彿 */ - @ApiModelProperty(value= "鍟嗗搧缂栧彿") - @ExcelProperty(value = "鍟嗗搧缂栫爜") + @ApiModelProperty(value= "鐗╂枡缂栫爜") + @ExcelProperty(value = "鐗╂枡缂栫爜") private String matnr; @@ -67,7 +68,7 @@ * 鍟嗗搧鍚嶇О */ @ApiModelProperty(value= "鍟嗗搧鍚嶇О") - @ExcelProperty(value = "鍟嗗搧鍚嶇О") + @ExcelProperty(value = "鐗╂枡鍚嶇О") private String maktx; /** @@ -306,6 +307,24 @@ @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() {} 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) { @@ -491,5 +510,8 @@ return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime); } + public void sync(Object source) { + Synchro.Copy(source, this); + } } -- Gitblit v1.9.1