|  | @@ -232,6 +232,7 @@ class JianYeReport(object):
 | 
												
													
														
															|  |          mail_util = EmailUtil()
 |  |          mail_util = EmailUtil()
 | 
												
													
														
															|  |          rfu = ReportFileUtils()
 |  |          rfu = ReportFileUtils()
 | 
												
													
														
															|  |          customers = self.get_report_customers(task_key)
 |  |          customers = self.get_report_customers(task_key)
 | 
												
													
														
															|  | 
 |  | +        message[0] = '客户信息获取成功'
 | 
												
													
														
															|  |          try:
 |  |          try:
 | 
												
													
														
															|  |              for customer in customers:
 |  |              for customer in customers:
 | 
												
													
														
															|  |                  # a.task_key, b.customer_type, b.name, b.mail, b.house_or_region, a.customer_id, GROUP_CONCAT(c.house_or_brand_id) as ids
 |  |                  # a.task_key, b.customer_type, b.name, b.mail, b.house_or_region, a.customer_id, GROUP_CONCAT(c.house_or_brand_id) as ids
 | 
												
											
												
													
														
															|  | @@ -244,6 +245,7 @@ class JianYeReport(object):
 | 
												
													
														
															|  |                  content = self.get_mail_content(customer_type)
 |  |                  content = self.get_mail_content(customer_type)
 | 
												
													
														
															|  |                  save_path = FileUtil().save_path_create()
 |  |                  save_path = FileUtil().save_path_create()
 | 
												
													
														
															|  |                  file_path = save_path + '/' + title
 |  |                  file_path = save_path + '/' + title
 | 
												
													
														
															|  | 
 |  | +                message[11] = '邮件信息生成成功'
 | 
												
													
														
															|  |                  if customer_type == 2:
 |  |                  if customer_type == 2:
 | 
												
													
														
															|  |                      # 集团
 |  |                      # 集团
 | 
												
													
														
															|  |                      table_1 = self.brand_data()
 |  |                      table_1 = self.brand_data()
 |