Commit fef0e2d9 authored by lvshibao's avatar lvshibao

group页面修改

parent 10a18bff
......@@ -250,7 +250,7 @@ class TasksApi(viewsets.ViewSet):
team_names = get_team_names(city_id, country_id)
session_condition['task_in'] = team_names
session_condition['task__in'] = team_names
seat_data = SeatStat.objects.filter(**session_condition).aggregate(
validate_session_sum=Sum('validate_session'), total_session_sum=Sum('total_session'))
avg_score = ScoreStat.objects.filter(**session_condition).aggregate(score_avg=Round(Avg('score'), 2))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment