8c324ae7 by 周伟奇

Merge branch 'feature/contract' into feature/0611

2 parents 5fbb652c 66e2f986
......@@ -706,8 +706,8 @@ class BSWorkbook(Workbook):
if len(contract_result) == 0:
return
ws = self.create_sheet(consts.CONTRACT_SHEET_NAME)
for page_num, info_list in contract_result:
ws.append('page {0}'.format(page_num))
for page_num, info_list in contract_result.items():
ws.append(('page {0}'.format(page_num), ))
for info in info_list:
for row in info:
ws.append(row)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!