|
@@ -232,6 +232,7 @@ class JianYeReport(object):
|
|
|
mail_util = EmailUtil()
|
|
|
rfu = ReportFileUtils()
|
|
|
customers = self.get_report_customers(task_key)
|
|
|
+ message[0] = '客户信息获取成功'
|
|
|
try:
|
|
|
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
|
|
@@ -244,6 +245,7 @@ class JianYeReport(object):
|
|
|
content = self.get_mail_content(customer_type)
|
|
|
save_path = FileUtil().save_path_create()
|
|
|
file_path = save_path + '/' + title
|
|
|
+ message[11] = '邮件信息生成成功'
|
|
|
if customer_type == 2:
|
|
|
# 集团
|
|
|
table_1 = self.brand_data()
|