From ef922b2b90fe47183712e6380ad56a04c600bf56 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Fri, 19 Jun 2026 19:52:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E9=94=AE=20ORM=20?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/view.py b/backend/view.py index 61c7862..1dcee9f 100644 --- a/backend/view.py +++ b/backend/view.py @@ -7175,7 +7175,7 @@ class CwhqjtddsjView(APIView): total_refund_count = summary_qs.filter(Status=5).count() total_dashou = summary_qs.filter(Status=3).aggregate(s=Sum('PlayerCommission'))['s'] or 0 total_dianpu_fenhong = summary_qs.filter(Status=3, Platform=1).aggregate( - s=Sum('pingtai_kuozhan__dianpu_shouyi'))['s'] or 0 + s=Sum('pingtai_kuozhan__ShopIncome'))['s'] or 0 platform_amount = summary_qs.filter(Status=3, Platform=1).aggregate(s=Sum('Amount'))['s'] or 0 merchant_amount = summary_qs.filter(Status=3, Platform=2).aggregate(s=Sum('Amount'))['s'] or 0