fix: 修复 SzxxView 重复 values 导致 500,财务累计统计去重

This commit is contained in:
XingQue
2026-06-24 06:44:44 +08:00
parent bfc38c2d43
commit 467bb71736
2 changed files with 0 additions and 2 deletions

View File

@@ -7345,7 +7345,6 @@ class SzxxView(APIView):
payout_qs = filter_queryset_by_club(
DailyPayoutStat.query.filter(**payout_filter), request,
).values(group_field) \
.values(group_field) \
.annotate(total_payout=Sum('total_amount'), total_count=Sum('total_count')) \
.order_by(group_field)