Merge branch 'feature/main2' into feature/main
Showing
1 changed file
with
3 additions
and
0 deletions
... | @@ -103,6 +103,9 @@ class BSWorkbook(Workbook): | ... | @@ -103,6 +103,9 @@ class BSWorkbook(Workbook): |
103 | sheet_header_info.setdefault(ws.title, {}).setdefault(consts.HEADER_KEY, first_row) | 103 | sheet_header_info.setdefault(ws.title, {}).setdefault(consts.HEADER_KEY, first_row) |
104 | for idx, header_value in enumerate(first_row): | 104 | for idx, header_value in enumerate(first_row): |
105 | header_col = self.get_header_col(header_value, classify) | 105 | header_col = self.get_header_col(header_value, classify) |
106 | if classify == consts.MS_CLASSIFY and header_col == consts.OVER_KEY and \ | ||
107 | header_value == '账户余额现转标志' and not first_row[idx - 1]: | ||
108 | idx -= 1 | ||
106 | if header_col is not None: | 109 | if header_col is not None: |
107 | header_col_list.append((idx, header_col)) | 110 | header_col_list.append((idx, header_col)) |
108 | 111 | ... | ... |
-
Please register or sign in to post a comment