a1c7bfd2 by 周伟奇

fix bug

1 parent c8aa6329
......@@ -317,8 +317,9 @@ class BSWorkbook(Workbook):
if isinstance(row_value[1], str):
cn_chars = re.findall(consts.CN_RE, row_value[1])
cn_str = ''.join(cn_chars)
row_value[2] = cn_str + row_value[2]
row_value[1] = re.sub(consts.CN_RE, '', row_value[1])
if isinstance(row_value[2], str):
row_value[2] = cn_str + row_value[2]
return row_value
def build_month_sheet(self, ms, card, month_mapping, is_reverse, statistics_header_info, max_column, classify):
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!