自动化立体仓库 - WMS系统
#
whycq
2024-05-05 0146de915c3bb74dcce2c39debcbdb8cf692623d
src/main/java/com/zy/asrs/entity/OrderDetl.java
@@ -62,6 +62,13 @@
    private Double qty;
    /**
     * 库存数量
     */
    @ApiModelProperty(value= "库存数量")
    @TableField(exist = false)
    private Double stock;
    /**
     * 物料号
     */
    @ApiModelProperty(value= "物料号")
@@ -433,10 +440,15 @@
    }
    public Double getEnableQty() {
        Double enableQty = null;
        if (null != this.anfme && this.qty != null) {
            return this.anfme - this.qty;
            enableQty = this.anfme - this.qty;
            if (enableQty < 0) {
                enableQty = 0.0D;
            }
//            return this.anfme - this.qty;
        }
        return null;
        return enableQty;
    }
    public void sync(Object source) {