@@ -599,7 +599,8 @@ public class InventoryServiceImpl extends ServiceImpl<InventoryMapper, Inventory
do {
if (outStorageDetails.size() == j) {
- throw new ServiceException("数据异常,无法计算库存单价");
+ quantity = BigDecimal.ZERO;
+ continue;
}
// 获取这条记录剩余的数量