fix: 导出模板文件地址错误

This commit is contained in:
caoqianming 2023-12-13 09:59:23 +08:00
parent 2e51df333f
commit c23cf4587f
2 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ def get_cbma_info_from_db_and_ana(year: str = '2023'):
workbook.save(cbma_path)
print(f'总院{year}年文章表生成完毕!')
template_cal_path = os.path.join(BASE_DIR, 'summary/tempalte_cbma_cal.xlsx')
template_cal_path = os.path.join(BASE_DIR, 'summary/template_cbma_cal.xlsx')
workbook2 = load_workbook(template_cal_path)
need_df_list = [ "瑞泰科技", "国检集团", "中材高新", "哈玻院", "中国新材院", "秦皇岛院", "西安墙材院", "咸阳陶瓷院", "钟表所", "总院北分", "中岩科技", "水泥新材院", "中建材科创院", "科建苑"]
sheet2= workbook2['打分表']

Binary file not shown.