fix(fulfillment): 稳定任务列表排序并展示任务 ID
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user