瀏覽代碼

iiii

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag 4 年之前
父節點
當前提交
c34203453c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      jianye_report.py

+ 2 - 2
jianye_report.py

@@ -420,7 +420,7 @@ class JianYeReport(object):
                     file_path = save_path + '/' + title + '.xls'
                     if customer_type == 1:
                         # 项目
-                        table_2 = self.house_data(self.get_house_ids(ids))
+                        table_2 = self.house_data(ids)
                         send_data.append(
                             [table_2, self.sheet_names_1, title, [self.head_1, self.head_1, self.head_1], file_path,
                              content, name, mail])
@@ -435,7 +435,7 @@ class JianYeReport(object):
                              file_path, content, name, mail])
                     elif customer_type == 3:
                         # 区域
-                        table_2 = self.house_data(self.get_house_ids(ids))
+                        table_2 = self.house_data(ids)
                         send_data.append(
                             [table_2, self.sheet_names_1, title, [self.head_1, self.head_1, self.head_1], file_path,
                              content, name, mail])