fix: 煤粉热值取白班值

This commit is contained in:
caoqianming 2023-08-17 15:05:40 +08:00
parent fdf67b5dc5
commit ad9027d888
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def get_pcoal_heat(year_s: int, month_s: int, day_s: int):
else:
try:
qs = SfLog.objects.get(end_time__year=year_s, end_time__month=month_s, end_time__day=day_s,
mgroup__name='回转窑', shift__name='')
mgroup__name='回转窑', shift__name='')
if qs.pcoal_heat is None:
qs.pcoal_heat = 0
qs.save()