From 76020425c560309792372d7db287909b9c7d0ce4 Mon Sep 17 00:00:00 2001 From: P3ngSaM <61768364+P3ngSaM@users.noreply.github.com> Date: Thu, 24 Feb 2022 10:35:18 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=88=9D=E5=A7=8B=E5=8C=96=E5=85=AC?= =?UTF-8?q?=E5=8F=B8=E6=94=B6=E5=85=A5=EF=BC=88=E5=A1=AB=E6=8A=A5=E9=97=AE?= =?UTF-8?q?=E5=8D=B7=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esg/esg_impl.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/esg/esg_impl.py b/esg/esg_impl.py index 86f538c..7f3b785 100644 --- a/esg/esg_impl.py +++ b/esg/esg_impl.py @@ -132,6 +132,9 @@ def start_esg_rating_script(cid): new_input['企业ID'] = cid new_input['企业名称'] = company_name new_input['评价年度'] = get_current_year() + new_input['公司收入'] = dict() + for y in range(3): + new_input['公司收入'][report_dates[y]] = None for sheets in ['环境问卷', '社会问卷', '治理问卷']: for i in range(3): new_input[sheets]['近三年公司数据'][i]['年份'] = report_dates[i]