diff --git a/apps/wpm/tasks.py b/apps/wpm/tasks.py index 39f1087f..6573c45d 100644 --- a/apps/wpm/tasks.py +++ b/apps/wpm/tasks.py @@ -58,7 +58,7 @@ def get_total_hour_now(sflogId: str=''): @shared_task(base=CustomTask) -def cal_exp_duration_hour(stlogId: str, all=False): +def cal_exp_duration_hour(stlogId: str='', all=False): """ 计算异常记录对应的每班持续时间 """