自动化立体仓库 - WMS系统
skyouc
23 小时以前 afe9f011522d1511019fe4e0471c686438845e11
src/main/java/com/zy/asrs/entity/WaitPakin.java
@@ -1,7 +1,9 @@
package com.zy.asrs.entity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.core.common.Cools;
import com.core.common.SpringUtils;
@@ -21,6 +23,9 @@
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value= "托盘条码")
    private String zpallet;
@@ -30,6 +35,10 @@
    @ApiModelProperty(value= "库位号")
    @TableField("loc_no")
    private String locNo;
    @ApiModelProperty("组托类型")
    @TableField("type")
    private String type;
    @ApiModelProperty(value= "商品编号")
    private String matnr;
@@ -237,6 +246,18 @@
        }
    }
    public String getType$(){
        if (null == this.type){ return null; }
        switch (this.type){
            case "1":
                return "AGV组托";
            case "0":
                return "堆垛机组托";
            default:
                return "堆垛机组托";
        }
    }
    public String getDanger$(){
        if (null == this.danger){ return null; }
        switch (this.danger){