changes docx导出接口

This commit is contained in:
P3ngSaM 2023-06-30 17:30:34 +08:00
parent e21e5e311f
commit 8fe6a22e72
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ def daily_export_to_pdf(req: DailySchemas.DailyExportToPdfReq, db: Session = Dep
elif item.type.name == '行业信息专题分析':
daily_items['行业信息专题分析'].append(daily_item)
with open(os.getcwd() + "\\Confifg\\word_data_temp.json", encoding='utf-8') as f:
with open(os.getcwd() + "\\Config\\word_data_temp.json", encoding='utf-8') as f:
temp = json.load(f)
董监高部门id = [item.id for item in db.query(Department).filter(Department.type == '董监高')]
领导列表 = db.query(User).filter(or_(*[func.find_in_set(str(d_id), User.department) for d_id in