1.2 修改bug
This commit is contained in:
parent
4e2eed1596
commit
c33febf8a4
@ -44,7 +44,7 @@ def little_parse_goods(output_folder, pdf_path,logger):
|
||||
# 清理 JSON 字符串
|
||||
baseinfo_list = [clean_json_string(res) for _, res in baseinfo_results] if baseinfo_results else []
|
||||
# 聚合基础信息
|
||||
aggregated_baseinfo = aggregate_basic_info(baseinfo_list)
|
||||
aggregated_baseinfo = aggregate_basic_info(baseinfo_list,'goods')
|
||||
return {"基础信息": aggregated_baseinfo}
|
||||
|
||||
|
||||
|
@ -63,7 +63,7 @@ def combine_basic_info(merged_baseinfo_path, procurement_path,clause_path,invali
|
||||
# 合并结果
|
||||
baseinfo_list += temp_list # temp_list 是一个列表
|
||||
baseinfo_list.append(procurement_reqs) # procurement_reqs 是一个字典
|
||||
aggregated_baseinfo = aggregate_basic_info(baseinfo_list)
|
||||
aggregated_baseinfo = aggregate_basic_info(baseinfo_list,'goods')
|
||||
|
||||
return {"基础信息": aggregated_baseinfo}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user