From d07154d92334ba2ec312bf738a2a02a60350d5d9 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期一, 29 九月 2025 13:34:21 +0800 Subject: [PATCH] 2. pda 组托加减号 应该是整数加减(完成) 3. 站点状态,显示清楚 (完成) 4. 站点保存报错, 修改人,创建人员显示 错误(完成) 5. agv入库不显示 历史库位记录 (完成) 6. 任务类型,应该为入库 (完成) --- src/main/java/com/zy/asrs/entity/Mat.java | 36 +++++++++++++++++++++++++++++++----- 1 files changed, 31 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/zy/asrs/entity/Mat.java b/src/main/java/com/zy/asrs/entity/Mat.java index bee0346..1ccd199 100644 --- a/src/main/java/com/zy/asrs/entity/Mat.java +++ b/src/main/java/com/zy/asrs/entity/Mat.java @@ -7,6 +7,8 @@ import com.baomidou.mybatisplus.enums.IdType; import com.core.common.Cools; import com.core.common.SpringUtils; +import com.zy.asrs.enums.ContainerType; +import com.zy.asrs.service.BasContainerService; import com.zy.asrs.service.TagService; import com.zy.common.utils.Synchro; import com.zy.system.entity.User; @@ -164,7 +166,7 @@ private String manuDate; /** - * 鍝侀」鏁� + * 鍝侀」鏁�/鏈�澶х粍鎵樻暟閲� */ @ApiModelProperty(value= "鍝侀」鏁�") @ExcelProperty(value = "鍝侀」鏁�") @@ -186,12 +188,17 @@ @ExcelProperty(value = "閲嶉噺") private Double weight; + @ApiModelProperty(value= "鏈�澶х粍鎵樹笂闄�") + @ExcelProperty(value = "鏈�澶х粍鎵樹笂闄�") + @TableField("up_qty") + private Double upQty; + /** * 闀垮害 */ @ApiModelProperty(value= "闀垮害") - @ExcelProperty(value = "闀垮害") - private Double length; + @TableField("man_length") + private Double manLength; /** * 浣撶Н @@ -300,6 +307,11 @@ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date updateTime; + @ApiModelProperty("搴撲綅绫诲瀷") + @TableField("loc_type") + @ExcelProperty(value = "搴撲綅绫诲瀷") + private Long locType; + /** * 澶囨敞 */ @@ -327,7 +339,7 @@ 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) { + 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 manLength,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) { this.uuid = uuid; this.tagId = tagId; this.matnr = matnr; @@ -348,7 +360,7 @@ this.itemNum = itemNum; this.safeQty = safeQty; this.weight = weight; - this.length = length; + this.manLength = manLength; this.volume = volume; this.threeCode = threeCode; this.supp = supp; @@ -416,6 +428,20 @@ return null; } + public String getLocType$(){ + if (Cools.isEmpty(locType)) { + return "鏂欑"; + } + if (locType.equals(ContainerType.CONTAINER_TYPE_BOX.type)) { + return ContainerType.CONTAINER_TYPE_BOX.desc; + } else if (locType.equals(ContainerType.CONTAINER_TYPE_SALVER.type)) { + return ContainerType.CONTAINER_TYPE_SALVER.desc; + } else if (locType.equals(ContainerType.CONTAINER_TYPE_CAGE.type)) { + return ContainerType.CONTAINER_TYPE_CAGE.desc; + } + return null; + } + public String getBeBatch$(){ if (null == this.beBatch){ return null; } switch (this.beBatch){ -- Gitblit v1.9.1