Browse Source

项目id处理逻辑修改

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 4 years ago
parent
commit
1249aca2da
1 changed files with 2 additions and 2 deletions
  1. 2 2
      jianye_report.py

+ 2 - 2
jianye_report.py

@@ -410,8 +410,8 @@ class JianYeReport(object):
                         # 项目
                         # 项目
                         title_1, title_2 = title[0], title[1]
-                        table_2 = self.house_data(self.get_house_ids(ids))
-                        table_3 = self.get_table_3(self.get_house_ids(ids))
+                        table_2 = self.house_data(ids)
+                        table_3 = self.get_table_3(ids)
                         file_path_1 = save_path + '/' + title_1 + '.xls'
                         send_data.append(
                             [table_2, self.sheet_names_1, title_1, [self.head_1, self.head_1, self.head_1], file_path,