自动化立体仓库 - WMS系统
skyouc
10 小时以前 a57445f55e84b7cf6bd26cf152a0ffa7f62f54f2
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 = "品项数")
@@ -185,6 +187,11 @@
    @ApiModelProperty(value= "重量")
    @ExcelProperty(value = "重量")
    private Double weight;
    @ApiModelProperty(value= "最大组托上限")
    @ExcelProperty(value = "最大组托上限")
    @TableField("up_qty")
    private Double upQty;
    /**
     * 长度
@@ -300,6 +307,10 @@
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApiModelProperty("库位类型")
    @TableField("loc_type")
    private Long locType;
    /**
     * 备注
     */
@@ -416,6 +427,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){