自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-12-08 64d57a08fee43ab838e53b432806cac6614afda0
src/main/java/com/zy/asrs/entity/Mat.java
@@ -56,25 +56,25 @@
    private Long tagId;
    /**
     * 商品编号
     * 单据号
     */
    @ApiModelProperty(value= "商品编号")
    @ExcelProperty(value = "商品编码")
    @ApiModelProperty(value= "单据号")
    @ExcelProperty(value = "单据号")
    private String matnr;
    /**
     * 商品名称
     * 物料号
     */
    @ApiModelProperty(value= "商品名称")
    @ExcelProperty(value = "商品名称")
    @ApiModelProperty(value= "物料号")
    @ExcelProperty(value = "物料号")
    private String maktx;
    /**
     * 别名
     * 移动类型
     */
    @ApiModelProperty(value= "别名")
    @ExcelProperty(value = "别名")
    @ApiModelProperty(value= "移动类型")
    @ExcelProperty(value = "移动类型")
    private String name;
    /**
@@ -85,10 +85,10 @@
    private String specs;
    /**
     * 型号
     * 批次
     */
    @ApiModelProperty(value= "型号")
    @ExcelProperty(value = "型号")
    @ApiModelProperty(value= "批次")
    @ExcelProperty(value = "批次")
    private String model;
    /**
@@ -127,10 +127,10 @@
    private String sku;
    /**
     * 单位量
     * 包数
     */
    @ApiModelProperty(value= "单位量")
    @ExcelProperty(value = "单位量")
    @ApiModelProperty(value= "包数")
    @ExcelProperty(value = "包数")
    private Double units;
    /**
@@ -141,24 +141,24 @@
    private String barcode;
    /**
     * 产地
     * 物料状态
     */
    @ApiModelProperty(value= "产地")
    @ExcelProperty(value = "产地")
    @ApiModelProperty(value= "物料状态")
    @ExcelProperty(value = "物料状态")
    private String origin;
    /**
     * 厂家
     */
    @ApiModelProperty(value= "厂家")
    @ExcelProperty(value = "商品编号")
    @ExcelProperty(value = "厂家")
    private String manu;
    /**
     * 生产日期
     * 单据时间
     */
    @ApiModelProperty(value= "生产日期")
    @ExcelProperty(value = "生产日期")
    @ApiModelProperty(value= "单据时间")
    @ExcelProperty(value = "单据时间")
    @TableField("manu_date")
    private String manuDate;
@@ -255,7 +255,7 @@
     * 要求检验 1: 是  0: 否
     */
    @ApiModelProperty(value= "要求检验 1: 是  0: 否  ")
    private Integer check;
    private Integer inspect;
    /**
     * 危险品 1: 是  0: 否
@@ -308,7 +308,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 check,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 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) {
        this.uuid = uuid;
        this.tagId = tagId;
        this.matnr = matnr;
@@ -338,7 +338,7 @@
        this.deadTime = deadTime;
        this.deadWarn = deadWarn;
        this.source = source;
        this.check = check;
        this.inspect = inspect;
        this.danger = danger;
        this.status = status;
        this.createBy = createBy;
@@ -351,21 +351,21 @@
//    Mat mat = new Mat(
//            null,    // 编号
//            null,    // 所属归类
//            null,    // 商品编号
//            null,    // 商品名称
//            null,    // 别名
//            null,    // 单据号
//            null,    // 物料号
//            null,    // 移动类型
//            null,    // 规格
//            null,    // 型号
//            null,    // 批次
//            null,    // 颜色
//            null,    // 品牌
//            null,    // 单位
//            null,    // 单价
//            null,    // sku
//            null,    // 单位量
//            null,    // 包数
//            null,    // 条码
//            null,    // 产地
//            null,    // 物料状态
//            null,    // 厂家
//            null,    // 生产日期
//            null,    // 单据时间
//            null,    // 品项数
//            null,    // 安全库存量
//            null,    // 重量
@@ -423,15 +423,15 @@
        }
    }
    public String getCheck$(){
        if (null == this.check){ return null; }
        switch (this.check){
    public String getInspect$(){
        if (null == this.inspect){ return null; }
        switch (this.inspect){
            case 1:
                return "是";
            case 0:
                return "否";
            default:
                return String.valueOf(this.check);
                return String.valueOf(this.inspect);
        }
    }