Refactor OrdersCapacityService to improve capacity handling and error...
Refactor OrdersCapacityService to improve capacity handling and error management. Introduced error handling for capacity queries and updates, added retry logic for optimistic locking, and enhanced logging to include orderId for better traceability in ReturnCapacity, ConfirmCapacity, and LockCapacity methods. Streamlined the process of creating sold and lock records, ensuring robust handling of insufficient capacity scenarios.