@@ -317,7 +317,7 @@ public class InventoryServiceImpl extends ServiceImpl<InventoryMapper, Inventory
inOutStorageDetails.setInUnitPrice(BigDecimal.ZERO);
} else {
- inventory.setQuantity(quantity.subtract(inventory.getLockQuantity()));
+ inventory.setQuantity(quantity);
inOutStorageDetails.setInUnitPrice(inventory.getBalanceUnitPrice());
}