From c07ad43a994e4964b8b0e92ad8fc74ba89adb43b Mon Sep 17 00:00:00 2001 From: zy123 <646228430@qq.com> Date: Thu, 6 Feb 2025 17:27:29 +0800 Subject: [PATCH] =?UTF-8?q?2.6=20=E7=BB=93=E6=9E=84=E6=95=B4=E7=90=86?= =?UTF-8?q?=E3=80=81=E5=A2=9E=E5=8A=A0=E4=BA=86cache=E5=91=BD=E4=B8=AD?= =?UTF-8?q?=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flask_app/general/table_content_extraction.py | 1 + flask_app/general/商务技术评分提取.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/flask_app/general/table_content_extraction.py b/flask_app/general/table_content_extraction.py index 6e2040e..924fb32 100644 --- a/flask_app/general/table_content_extraction.py +++ b/flask_app/general/table_content_extraction.py @@ -89,6 +89,7 @@ def save_data_to_json(data, output_folder): def extract_tables_main(path, output_folder): + #读取表格数据,保存到json文件中 if not os.path.exists(path): print(f"table_content_extraction: The specified file does not exist: {path}") return "" diff --git a/flask_app/general/商务技术评分提取.py b/flask_app/general/商务技术评分提取.py index a011ab8..12fbfa4 100644 --- a/flask_app/general/商务技术评分提取.py +++ b/flask_app/general/商务技术评分提取.py @@ -243,6 +243,9 @@ def reorganize_data(input_dict, include=None): return reorganized def combine_evaluation_standards(evaluation_method_path,invalid_path,zb_type): + ''' + 传入截取后的评分章节,输出评分细则 + ''' # 定义默认的评审结果字典 DEFAULT_EVALUATION_REVIEW = { "技术评分": "未解析到'技术评分'项!",