From cb60fe2728b47d74ce3cfe1abc4764d2f2fd8c53 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 3 Aug 2023 13:33:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=B6=E4=BB=96=E6=88=90=E6=9C=AC?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BF=98=E8=AE=B0=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/enm/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/enm/tasks.py b/apps/enm/tasks.py index d18e7f97..a3835dde 100644 --- a/apps/enm/tasks.py +++ b/apps/enm/tasks.py @@ -339,6 +339,7 @@ def cal_enstat(type, sflogId, mgroupId, year, month, day, hour, year_s, month_s, item['cost_unit'] = get_cost_unit(mgroup, fee, year_s, month_s) other_cost_unit = other_cost_unit + item['cost_unit'] other_cost_data.append(item) + enstat.other_cost_data = other_cost_data enstat.production_cost_unit = imaterial_cost_unit + other_cost_unit enstat.save()