fix(fulfillment): 稳定任务列表排序并展示任务 ID

This commit is contained in:
yml
2026-11-18 19:49:45 +08:00
parent 667634a8df
commit 631862217d
3 changed files with 51 additions and 2 deletions
@@ -911,7 +911,7 @@ def list_tasks(
total = query.count()
rows = (
query.order_by(
PlatformFulfillmentTask.updated_at.desc(),
PlatformFulfillmentTask.paid_at.desc(),
PlatformFulfillmentTask.id.desc(),
)
.offset((max(1, page) - 1) * max(1, page_size))