fix: 稳定利润账号分页游标
This commit is contained in:
@@ -184,7 +184,7 @@ def run_profit_report():
|
||||
confirmed_with_self = confirmed_without_self - self_cost
|
||||
without_complete = not missing_profit and not unclassified
|
||||
with_complete = without_complete and not missing_self
|
||||
account_rows.sort(key=lambda row: (row["class"], row["groupName"], -profit_decimal(row["apiAmountUsd"]), str(row["accountName"])))
|
||||
account_rows.sort(key=lambda row: (row["class"], row["groupName"], str(row["accountId"]), str(row["accountName"])))
|
||||
return {
|
||||
"ok": True,
|
||||
"mode": "profit",
|
||||
|
||||
Reference in New Issue
Block a user