自动化立体仓库 - WMS系统
#
lsh
2024-12-25 0d4ef71836341f929a57e3943c5ca131e4c0a8c5
src/main/java/com/zy/asrs/entity/OrderDetlPakin.java
@@ -308,25 +308,46 @@
     */
    @ApiModelProperty(value= "行号")
    @TableField("line_number")
    private Integer lineNumber;
    private Long lineNumber;
    /**
     * 备用1
     */
    @ApiModelProperty(value= "备用1")
    private String standby1;
    private String standby1 = "";
    /**
     * 备用2
     */
    @ApiModelProperty(value= "备用2")
    private String standby2;
    private String standby2 = "";
    /**
     * 备用3
     */
    @ApiModelProperty(value= "备用3")
    private String standby3;
    private String standby3 = "";
    /**
     * 备用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 OrderDetlPakin() {}
@@ -504,6 +525,21 @@
        return "未完成";
    }
    public boolean beSimilar(OrderDetlPakin orderDetlPakin){
        return (
                this.orderNo.equals(orderDetlPakin.getOrderNo())
                        && this.matnr.equals(orderDetlPakin.getMatnr())
                        && this.batch.equals(orderDetlPakin.getBatch())
                        && this.brand.equals(orderDetlPakin.getBrand())
                        && this.standby1.equals(orderDetlPakin.getStandby1())
                        && this.standby2.equals(orderDetlPakin.getStandby2())
                        && this.standby3.equals(orderDetlPakin.getStandby3())
                        && this.boxType1.equals(orderDetlPakin.getBoxType1())
                        && this.boxType2.equals(orderDetlPakin.getBoxType2())
                        && this.boxType3.equals(orderDetlPakin.getBoxType3())
        );
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }