自动化立体仓库 - WMS系统
skyouc
昨天 91aa478d200d53ecf5e3032ce7f7e026a218e526
src/main/java/com/zy/asrs/entity/BasContainer.java
@@ -1,5 +1,6 @@
package com.zy.asrs.entity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
@@ -34,9 +35,10 @@
    private String barcode;
    @ApiModelProperty("容器类型")
    private String type;
    private Long type;
    @ApiModelProperty("是否混放")
    @TableField("flag_mix")
    private Integer flagMix;
    @ApiModelProperty("最大混放种类")
@@ -58,7 +60,6 @@
        this.barcode = barcode;
    }
    public String getType$() {
        if (Cools.isEmpty(type)) {
            return "料箱";
@@ -69,6 +70,8 @@
            return ContainerType.CONTAINER_TYPE_SALVER.desc;
        } else if (type.equals(ContainerType.CONTAINER_TYPE_CAGE.type)) {
            return ContainerType.CONTAINER_TYPE_CAGE.desc;
        } else if (type.equals(ContainerType.CONTAINER_TYPE_CAR.type)) {
            return ContainerType.CONTAINER_TYPE_CAR.desc;
        }
        return null;
    }
@@ -81,7 +84,7 @@
            return CommonEnum.COMMON_ENUM_N.desc;
        } else if (flagMix.equals(CommonEnum.COMMON_ENUM_Y.type)) {
            return CommonEnum.COMMON_ENUM_Y.desc;
        }
        }
        return null;
    }