From ad9027d8882ffb8fa7732c77ba88bda0ff435201 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 17 Aug 2023 15:05:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=85=A4=E7=B2=89=E7=83=AD=E5=80=BC?= =?UTF-8?q?=E5=8F=96=E7=99=BD=E7=8F=AD=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wpm/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wpm/services.py b/apps/wpm/services.py index e2586979..aa03b931 100644 --- a/apps/wpm/services.py +++ b/apps/wpm/services.py @@ -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()