2f1da6a1 by chenyao

修复JIRA-4341-销售合同页数不同导致的识别错误

1 parent fa767f86
......@@ -252,7 +252,8 @@ class Retriever:
self.position_str: list(coordinates),
}
page_key = 'page_12' if is_last_pno else 'page_{0}'.format(int(pno_str) + 1)
# page_key = 'page_12' if is_last_pno else 'page_{0}'.format(int(pno_str) + 1)
page_key = 'page_{0}'.format(int(pno_str) + 1)
pdf_result[page_key] = page_result
return pdf_result
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!