自动化立体仓库 - WMS系统
zjj
2025-07-29 d1c8851434d354aeefb622272fb229291c383cd2
src/main/java/com/zy/asrs/entity/OrderDetl.java
@@ -15,6 +15,7 @@
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;
@@ -453,7 +454,10 @@
    public Double getEnableQty() {
        if (null != this.anfme && this.workQty != null) {
            return this.anfme - this.workQty;
            BigDecimal subtract = new BigDecimal(this.anfme).subtract(new BigDecimal(this.workQty));
            return subtract.doubleValue();
        }
//        if (null != this.anfme && this.qty != null) {
//            return this.anfme - this.qty;