自动化立体仓库 - WMS系统
#
luxiaotao1123
2022-03-30 26704b180f9caad52156ad3828e66276c8fe6907
src/main/java/com/zy/asrs/entity/OrderDetl.java
@@ -38,6 +38,14 @@
    private Long orderId;
    /**
     * 单据编号
     */
    @ApiModelProperty(value= "单据编号")
    @TableField("order_no")
    private String orderNo;
    /**
     * 数量
     */
    @ApiModelProperty(value= "数量")
@@ -45,6 +53,9 @@
    /**
     * 作业数量
     *
     *  1. 入库 : qty 👆
     *  1. 出库 : qty 👆
     */
    @ApiModelProperty(value= "作业数量")
    private Double qty;
@@ -274,5 +285,11 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
    }
    public Double getEnableQty() {
        if (null != this.anfme && this.qty != null) {
            return this.anfme - this.qty;
        }
        return null;
    }
}