feat: cal_mpointstat_hour 添加一个日志

This commit is contained in:
caoqianming 2024-04-30 12:39:43 +08:00
parent 1e8e4c6f70
commit 90ed2927e6
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ def cal_mpointstat_hour(mpointId: str, year: int, month: int, day: int, hour: in
ratio = allocate["ratio"]
# 查找并绑定值班记录
sflog = get_sflog(mgroup, dt)
if sflog is None:
myLogger.error(f'{mgroup.name}--{dt}')
year_s, month_s, day_s = sflog.get_ymd
params_hour_s = {