From 2e67f7c46803101fbb5e13526d5bffe9c32e17a2 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 8 May 2024 16:32:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20cal=5Fexp=5Fduration=5Fhour=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E4=B8=80=E4=B8=AA=E5=8F=82=E6=95=B0=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): """ 计算异常记录对应的每班持续时间 """