perf(fulfillment): 优化本地能力选号查询与索引

This commit is contained in:
yml
2026-11-23 18:53:06 +08:00
parent d5422b0ecd
commit 7e0d27927c
23 changed files with 1624 additions and 95 deletions
@@ -31,8 +31,10 @@ from .binding import ( # noqa: F401
confirm_binding_sync,
reconcile_binding_state_outbox,
refresh_binding,
requires_account_binding_sync,
start_binding,
start_binding_sync,
sync_active_task_from_account_binding,
sync_task_from_binding_runner,
)
from .binding_status import ( # noqa: F401
@@ -68,6 +70,7 @@ from .lifecycle import (
complete_manual_exchange,
mark_manual_required,
prepare_platform_task_for_collab_takeover,
refresh_active_exchange_eligibility_for_account,
refresh_exchange_eligibility,
release_task_account,
release_task_to_manual,
@@ -155,15 +158,18 @@ __all__ = [
"reconcile_binding_state_outbox",
"record_douyu_operation_result",
"record_douyu_operation_started",
"refresh_active_exchange_eligibility_for_account",
"refresh_binding",
"refresh_exchange_eligibility",
"release_task_account",
"release_task_to_manual",
"requires_account_binding_sync",
"reset_task_binding",
"restore_cancelled_task",
"restore_mapping",
"set_mapping_enabled",
"start_binding",
"sync_active_task_from_account_binding",
"sync_order_item_ids",
"sync_order_snapshot",
"sync_pending_tasks",