瀏覽代碼

项目id处理逻辑修改

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 4 年之前
父節點
當前提交
1249aca2da
共有 1 個文件被更改,包括 2 次插入2 次删除
  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,