a825541a by 周伟奇

Merge branch 'feature/e-bank'

2 parents 594149a3 597d5d5d
...@@ -68,7 +68,7 @@ class BSWorkbook(Workbook): ...@@ -68,7 +68,7 @@ class BSWorkbook(Workbook):
68 header_col = header_dict.get(header_value) 68 header_col = header_dict.get(header_value)
69 if header_col is None: 69 if header_col is None:
70 for pattern in consts.PATTERN_LIST: 70 for pattern in consts.PATTERN_LIST:
71 if re.search(pattern, header_value): 71 if re.search(pattern, header_value) and len(header_value) - len(pattern) <= 5:
72 header_col = header_dict.get(pattern) 72 header_col = header_dict.get(pattern)
73 break 73 break
74 return header_col 74 return header_col
......
...@@ -46,6 +46,8 @@ class PDFHandler: ...@@ -46,6 +46,8 @@ class PDFHandler:
46 '中国工商银行借记账户历史明细', 46 '中国工商银行借记账户历史明细',
47 '中国建设银行个人活期账户全部交易明细', 47 '中国建设银行个人活期账户全部交易明细',
48 '平安银行个人账户交易明细清单', 48 '平安银行个人账户交易明细清单',
49 '中国农业银⾏账⼾活期交易明细清单',
50 '支付宝(中国)网络技术有限公司 交易流水证明'
49 ] 51 ]
50 self.page_count = None 52 self.page_count = None
51 self.metadata = None 53 self.metadata = None
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!