自动化立体仓库 - WMS系统
whycq
2023-07-24 b7e08df5a07b3fa832a46ecc31983e16f2bccc8c
src/main/java/com/zy/asrs/entity/PltBarcode.java
@@ -120,14 +120,14 @@
     */
    @ApiModelProperty(value= "总重量")
    @TableField("all_weight")
    private double allWeight;
    private Double allWeight;
    /**
     * 来源:1、外协 2、自制 3、客供
     * 来源
     */
    @ApiModelProperty(value="来源:1、外协 2、自制 3、客供")
    private Integer source;
    @ApiModelProperty(value="来源")
    private String source;
    /**
     * 供应商
     * 批号
     */
    @ApiModelProperty(value = "批号")
    private String supplier;
@@ -135,8 +135,7 @@
     * 供应商
     */
    @ApiModelProperty(value = "供应商")
    @TableField("batch_number")
    private String batchNumber;
    private String vendor;
    /**
     * 备注
     */
@@ -198,9 +197,49 @@
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date appeTime;
    /**
     * 单箱数量
     */
    @ApiModelProperty(value = "单箱数量")
    @TableField("qty_box")
    private Double qtyBox;
    /**
     * 客户名称
     */
    @ApiModelProperty(value= "客户名称")
    private String str3;
    /**
     * 项目信息
     */
    @ApiModelProperty(value= "项目信息")
    private String str4;
    /**
     * 类别
     */
    @ApiModelProperty(value= "类别")
    private String str5;
    public String getStr5$(){
        if (Cools.isEmpty(this.str5) ){
            return "";
        }
        if (this.str5.equals("1")){
            return "原材料";
        }
        if (this.str5.equals("2")){
            return "成品";
        }
        if (this.str5.equals("3")){
            return "半成品";
        }
        return "";
    }
    public PltBarcode() {}
    public PltBarcode(String barcode,double allQty,Integer source,String supplier,String batchNumber,double allWeight,String billNo,Integer seqNo,Integer billType,String matNo,String matName,Double qty,String locNo,String specs,String unit,String size,String color,Double weight,String memo,Integer linkErp,Integer ioStatus,Date ioTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime) {
    public PltBarcode(String barcode,Double allQty,Double qtyBox,String source,String supplier,String vendor,Double allWeight,String billNo,Integer seqNo,Integer billType,String matNo,String matName,Double qty,String locNo,String specs,String unit,String size,String color,Double weight,String memo,Integer linkErp,Integer ioStatus,Date ioTime,Long modiUser,Date modiTime,Long appeUser,Date appeTime) {
        this.barcode = barcode;
        this.billNo = billNo;
        this.seqNo = seqNo;
@@ -226,7 +265,8 @@
        this.allWeight=allWeight;
        this.source=source;
        this.supplier=supplier;
        this.batchNumber=batchNumber;
        this.vendor=vendor;
        this.qtyBox=qtyBox;
    }
//    PltBarcode pltBarcode = new PltBarcode(
@@ -263,11 +303,11 @@
    public double getAllWeight(){return allWeight;}
    public void setAllWeight(double allweight){this.allWeight=allweight;}
    public void setAllWeight(Double allweight){this.allWeight=allweight;}
    public double getAllQty(){return allQty;}
    public Double getAllQty(){return allQty;}
    public void setAllQty(double allqty){this.allQty=allqty;}
    public void setAllQty(Double allqty){this.allQty=allqty;}
    public String getBillNo() {
        return billNo;
@@ -287,20 +327,6 @@
    public Integer getBillType() {
        return billType;
    }
    public String getSource$(){
        if (null == this.source){ return null; }
        switch (this.source){
            case 1:
                return "外协";
            case 2:
                return "自制";
            case 3:
                return "客供";
            default:
                return String.valueOf(this.source);
        }
    }
    public String getBillType$(){