自动化立体仓库 - WMS系统
zwl
昨天 b7380ff70bcc962494cd6640fcc3eac21aaab0a1
src/main/java/com/zy/asrs/entity/WaitPakin.java
@@ -3,6 +3,7 @@
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.core.common.Cools;
import com.zy.common.utils.Synchro;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -39,6 +40,12 @@
    @TableField("order_no")
    private String orderNo;
    @ApiModelProperty(value= "建议入库区域:堆垛机号")
    private String origin;
    @ApiModelProperty(value= "库位编码,若有,则存储到指定库位。为后续分区预留")
    private String manu;
    @ApiModelProperty(value= "规格")
    private String specs;
@@ -49,7 +56,7 @@
    private String color;
    @ApiModelProperty(value= "品牌")
    private String brand;
    private String brand = "";
    @ApiModelProperty(value= "单位")
    private String unit;
@@ -65,12 +72,6 @@
    @ApiModelProperty(value= "条码")
    private String barcode;
    @ApiModelProperty(value= "产地")
    private String origin;
    @ApiModelProperty(value= "厂家")
    private String manu;
    @ApiModelProperty(value= "生产日期")
    @TableField("manu_date")
@@ -88,7 +89,7 @@
    private Double weight;
    @ApiModelProperty(value= "长度")
    private Double length;
    private Double man_length;
    @ApiModelProperty(value= "体积")
    private Double volume;
@@ -120,7 +121,7 @@
    private Integer source;
    @ApiModelProperty(value= "要求检验 1: 是  0: 否  ")
    private Integer check;
    private Integer inspect;
    @ApiModelProperty(value= "危险品 1: 是  0: 否  ")
    private Integer danger;
@@ -151,6 +152,45 @@
    @ApiModelProperty(value= "备注")
    private String memo;
    /**
     * 备用1
     */
    @ApiModelProperty(value= "备用1")
    private String standby1 = "1";
    /**
     * 备用2
     */
    @ApiModelProperty(value= "备用2")
    private String standby2 = "1";
    /**
     * 备用3
     */
    @ApiModelProperty(value= "备用3")
    private String standby3 = "1";
    /**
     * 备用1
     */
    @ApiModelProperty(value= "备用1")
    @TableField("box_type1")
    private String boxType1 = "1";
    /**
     * 备用2
     */
    @ApiModelProperty(value= "备用2")
    @TableField("box_type2")
    private String boxType2 = "1";
    /**
     * 备用3
     */
    @ApiModelProperty(value= "备用3")
    @TableField("box_type3")
    private String boxType3 = "1";
    public String getBeBatch$(){
        if (null == this.beBatch){ return null; }
        switch (this.beBatch){
@@ -177,15 +217,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);
        }
    }
@@ -215,4 +255,7 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }
}