fix: cal_enstat_when_pcoal_heat_change的qs获取bug
This commit is contained in:
parent
7fd10f3e51
commit
c7b7d9cec4
|
@ -110,7 +110,7 @@ def cal_enstat_when_pcoal_heat_change(sflogId):
|
|||
enstats = EnStat.objects.filter(mgroup__name='回转窑', year_s=year_s, month_s=month_s, day_s=day_s, type__in = ['hour_s', 'sflog', 'day_s'])
|
||||
for enstat in enstats:
|
||||
cal_enstat_pcoal_change(enstat, pcoal_heat)
|
||||
enstats_other = EnStat.objects.filter(mgroup__name='回转窑', year_s=year_s, month_s=month_s, day_s=day_s, type__in = ['month_st', 'month_s', 'year_s'])
|
||||
enstats_other = EnStat.objects.filter(mgroup__name='回转窑', year_s=year_s, month_s=month_s, type__in = ['month_st', 'month_s'])|EnStat.objects.filter(mgroup__name='回转窑', year_s=year_s, type__in = ['year_s'])
|
||||
for enstat in enstats_other:
|
||||
cal_enstat_pcoal_change(enstat, pcoal_heat)
|
||||
|
||||
|
|
Loading…
Reference in New Issue