自动化立体仓库 - WMS系统
zhou zhou
10 小时以前 64d6948806c3dd7d657c359354212fa3eadfaa8e
src/main/java/com/zy/asrs/entity/CheckOrderDetl.java
@@ -489,15 +489,15 @@
//            null    // [非空]
//    );
    public Double getDiffQty() {
    public BigDecimal getDiffQty() {
        if (null == this.status || this.status == 1  ||  this.status == 0 ) {
            return 0D;
            return BigDecimal.ZERO;
        }
        if (null != this.anfme && this.workQty != null) {
            BigDecimal subtract = new BigDecimal(this.workQty.toString()).subtract(new BigDecimal(this.anfme.toString()));
            return subtract.doubleValue();
            return subtract;
        }
//        if (null != this.anfme && this.qty != null) {
//            return this.anfme - this.qty;