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;