From ff4984831eabe05216c6315359a03c725c37a35b Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 15 May 2024 10:41:39 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E6=B3=A8=E9=87=8A=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/enm/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/enm/tasks.py b/apps/enm/tasks.py index a2a02ad6..3fd2ecdf 100644 --- a/apps/enm/tasks.py +++ b/apps/enm/tasks.py @@ -241,8 +241,8 @@ def cal_mpointstats(is_now=1, year=None, month=None, day=None, hour=None, m_code cal_mpointstat_hour(item.id, year, month, day, hour) # 先调整一下班时间,以防计算错误 - get_total_sec_now() # 先处理total_hour_now - cal_exp_duration_sec() # 再处理shut_hour + get_total_sec_now() # 先处理total_sec + cal_exp_duration_sec() # 再处理shut_sec # 开始计算enstat mgroups = Mgroup.objects.filter(need_enm=True).order_by("sort")