Implement capacity item merging to consolidate duplicate entries
- Add mergeCapacityItems function to combine identical capacity items
- Update LockAndConfirm, DirectConfirmCapacity, ReturnCapacity, and LockCapacity methods to merge duplicate entries before processing
- Reduce redundant entries by aggregating items with the same SuNo, SpuNo, SkuNo, and DishType