Commit d743d72c authored by zhengjinlei's avatar zhengjinlei

定时任务

parent 8c2b0b3c
...@@ -80,7 +80,7 @@ def score_stat(date_str=None): ...@@ -80,7 +80,7 @@ def score_stat(date_str=None):
@kronos.register('30 6 * * *') @kronos.register('30 6 * * *')
def data_stat(date_str=None): def data_stat(date_str=None):
""" """
坐席得分统计 坐席数据统计
:return: :return:
""" """
if not date_str: if not date_str:
......
...@@ -191,9 +191,10 @@ def single_score_stat(t, create_date, stat_count=0): ...@@ -191,9 +191,10 @@ def single_score_stat(t, create_date, stat_count=0):
def re_stat_by_task(task): def re_stat_by_task(task):
single_rules_stat(task, task['createdAt'] + timedelta(hours=8), 0) # single_rules_stat(task, task['createdAt'] + timedelta(hours=8), 0)
single_seat_stat(task, task['createdAt'] + timedelta(hours=8), 0) # single_seat_stat(task, task['createdAt'] + timedelta(hours=8), 0)
single_score_stat(task, task['createdAt'] + timedelta(hours=8), 0) # single_score_stat(task, task['createdAt'] + timedelta(hours=8), 0)
single_data_stat(task, task['createdAt'] + timedelta(hours=8), 0)
def delete_stat_by_task(task): def delete_stat_by_task(task):
......
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