c270100a by 周伟奇

modify bs count

1 parent d30ff9ac
...@@ -708,7 +708,7 @@ class BSWorkbook(Workbook): ...@@ -708,7 +708,7 @@ class BSWorkbook(Workbook):
708 self.remove(self.get_sheet_by_name('Sheet')) 708 self.remove(self.get_sheet_by_name('Sheet'))
709 709
710 def rebuild(self, bs_summary, license_summary, res_list, document_scheme): 710 def rebuild(self, bs_summary, license_summary, res_list, document_scheme):
711 count_list = [(consts.MODEL_FIELD_BS, len(self.sheetnames) - 1)] 711 count_list = [(consts.MODEL_FIELD_BS, len(bs_summary))]
712 if document_scheme == consts.DOC_SCHEME_LIST[1]: 712 if document_scheme == consts.DOC_SCHEME_LIST[1]:
713 self.license_rebuild(license_summary, document_scheme, count_list) 713 self.license_rebuild(license_summary, document_scheme, count_list)
714 self.bs_rebuild(bs_summary) 714 self.bs_rebuild(bs_summary)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!