From 3107a6f95a42e5e424a19ef9892c95639b09eb29 Mon Sep 17 00:00:00 2001 From: P3ngSaM <61768364+P3ngSaM@users.noreply.github.com> Date: Mon, 21 Aug 2023 14:54:37 +0800 Subject: [PATCH] =?UTF-8?q?changes=20=E8=A1=A8=E6=A0=BC=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/Router/ReportRouter.py | 1 - App/Schemas/ReportSchemas.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/App/Router/ReportRouter.py b/App/Router/ReportRouter.py index 939cbb2..5e94491 100644 --- a/App/Router/ReportRouter.py +++ b/App/Router/ReportRouter.py @@ -70,7 +70,6 @@ def func(schemas: ReportSchemas.ReportData): pic = table.cell(current_row, r_i).paragraphs[0].add_run().add_picture(pic_path) pic.width = Inches(0.9) pic.height = Inches(0.9) - else: table.cell(current_row, r_i).text = str(brand_data[brand_index][r_i]) for section in table.cell(current_row, r_i).paragraphs: diff --git a/App/Schemas/ReportSchemas.py b/App/Schemas/ReportSchemas.py index c8e96e6..9e3d17b 100644 --- a/App/Schemas/ReportSchemas.py +++ b/App/Schemas/ReportSchemas.py @@ -56,6 +56,7 @@ class ReportData(BaseModel): 申明日期: str 所属国民经济行业: str 企业中文名称: str + 英文名称: str 工商注册号: str 组织机构代码: str 统一社会信用代码: str