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")