Optimization of Kitchen Order Processing Methods
The methods for handling kitchen orders in IOperationService have been optimized. Instead of passing full object models, only identifiers are now used, which significantly reduces data transmission time.
The following methods have been optimized:
AddOrUpdateKitchenOrderExternalData— now accepts the kitchen order ID instead of the full modelSetKitchenOrderProcessingStatus— uses the ID instead of theIKitchenOrderobjectTryGetKitchenOrderExternalDataByKey— optimized for ID-based operationsChangeKitchenOrderItemsProcessingStatus— reduced the amount of data transmitted
This decreases the number of API calls and enhances overall performance, especially noticeable in plugins like KDS Balancer, where operations with kitchen orders are frequently performed.