diff --git a/apps/enm/tasks.py b/apps/enm/tasks.py index ace70f0d..9f4e552a 100644 --- a/apps/enm/tasks.py +++ b/apps/enm/tasks.py @@ -685,7 +685,7 @@ def cal_enstat_pcoal_change(enstat: EnStat, new_pcoal_heat): enstat.pcoal_coal_consume = 0 # 算单位产品标煤耗 try: - enstat.coal_consume_unit = enstat.pcoal_coal_consume / enstat.total_production + enstat.coal_consume_unit = enstat.pcoal_coal_consume * 100 / enstat.total_production except ZeroDivisionError: enstat.coal_consume_unit = 0