src/main/java/com/zy/asrs/entity/LocDetl.java
@@ -246,9 +246,12 @@ public BigDecimal getBookQty() { if (diffQty.compareTo(BigDecimal.ZERO) == 0 || diffQty.compareTo(BigDecimal.ZERO) > 0) { return new BigDecimal(anfme.toString()); if (diffQty.compareTo(BigDecimal.ZERO) == 0 ) { return BigDecimal.ZERO; } if ( diffQty.compareTo(BigDecimal.ZERO) > 0) { return new BigDecimal(anfme.toString()); } return new BigDecimal(anfme.toString()).subtract(diffQty); }