zhl %!s(int64=3) %!d(string=hai) anos
pai
achega
21e58f8157
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Apietl/task/send_material_report_month.py

+ 2 - 2
Apietl/task/send_material_report_month.py

@@ -59,7 +59,7 @@ from
 application.app_kuaishou_video_report_busi_m a
 left join `jeecg-boot`.sys_user b
 on a.user_id=b.id
-where stat_mon=202201  
+where stat_mon=202202  
 group by account_id,signature) a
 left join 
 application.app_kuaishou_material_info b
@@ -70,7 +70,7 @@ on a.signature=b.material_id; """.format(stat_date=self.stat_date)
         pd.read_sql(sql, self.OuterConn).to_excel(path, index=False, engine='openpyxl')
         my_sender = 'zhaohailiang@c-top.com.cn'  # 发件人邮箱账号
         my_pass = 'h27UwLdJcD797THk'  # 发件人邮箱授权码 / 腾讯企业邮箱请使用登陆密码
-        recipients = ['niuxiaoyu@c-top.com.cn']  # 收件人邮箱账号
+        recipients = ['niuxiaoyu@c-top.com.cn','dukexuan@c-top.com.cn']  # 收件人邮箱账号
         # content = "Please check the attachment. "
         msg = MIMEMultipart()
         # [发件人的邮箱昵称、发件人邮箱账号], 昵称随便