Explorar o código

iiii

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag %!s(int64=4) %!d(string=hai) anos
pai
achega
c34203453c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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])