|
|
@ -786,10 +786,10 @@ public class CustomerreturnRequestMainServiceImpl implements CustomerreturnReque |
|
|
|
} |
|
|
|
|
|
|
|
private String isqty(BigDecimal qty1, BigDecimal qty2) { |
|
|
|
if (qty1.compareTo(qty2) < 0) { |
|
|
|
if (qty1.compareTo(qty2) != 1) { |
|
|
|
return "ture"; |
|
|
|
} else { |
|
|
|
throw new UtilException("上架数量" + qty2 + "不能大于库存数量" + qty1); |
|
|
|
throw new UtilException("退货数量" + qty1 + "不能大于库存数量" + qty2); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|