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