From d57d69609c1f0855b5ac838921a2d7627f5f06dd Mon Sep 17 00:00:00 2001 From: Codex Date: Tue, 14 Jul 2026 17:39:10 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A8=B3=E5=AE=9A=E5=88=A9=E6=B6=A6?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E5=88=86=E9=A1=B5=E6=B8=B8=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/platform-infra-sub2api-codex/remote-python-profit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/src/platform-infra-sub2api-codex/remote-python-profit.ts b/scripts/src/platform-infra-sub2api-codex/remote-python-profit.ts index 15719312..1b1af428 100644 --- a/scripts/src/platform-infra-sub2api-codex/remote-python-profit.ts +++ b/scripts/src/platform-infra-sub2api-codex/remote-python-profit.ts @@ -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",