feat: cal_mpointstat_hour 添加一个日志
This commit is contained in:
parent
1e8e4c6f70
commit
90ed2927e6
|
@ -159,6 +159,8 @@ def cal_mpointstat_hour(mpointId: str, year: int, month: int, day: int, hour: in
|
||||||
ratio = allocate["ratio"]
|
ratio = allocate["ratio"]
|
||||||
# 查找并绑定值班记录
|
# 查找并绑定值班记录
|
||||||
sflog = get_sflog(mgroup, dt)
|
sflog = get_sflog(mgroup, dt)
|
||||||
|
if sflog is None:
|
||||||
|
myLogger.error(f'{mgroup.name}--{dt}')
|
||||||
year_s, month_s, day_s = sflog.get_ymd
|
year_s, month_s, day_s = sflog.get_ymd
|
||||||
|
|
||||||
params_hour_s = {
|
params_hour_s = {
|
||||||
|
|
Loading…
Reference in New Issue