Commit 2947279a authored by zhengjinlei's avatar zhengjinlei

修复bug

parent 983a4aaf
...@@ -69,7 +69,7 @@ def score_stat(date_str=None): ...@@ -69,7 +69,7 @@ def score_stat(date_str=None):
create_date = date_str create_date = date_str
logger.info('[score_stat]seat score stat start...') logger.info('[score_stat]seat score stat start...')
task_condition = {'hasCheck': 1, 'name__endswith': date_str} task_condition = {'hasCheck': 1, 'name__endswith': date_str}
tasks = Tasks.objects.filter(**task_condition).values('id', 'name', 'sessionCollectionId') tasks = Tasks.objects.filter(**task_condition).values('id', 'name', 'sessionCollectionId', 'extra')
stat_count = 0 stat_count = 0
for t in tasks: for t in tasks:
single_score_stat(t, create_date, stat_count) single_score_stat(t, create_date, stat_count)
......
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