Przeglądaj źródła

report_push: 邮件发送日志记录sql修改

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 5 lat temu
rodzic
commit
4034bd6a7f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      report_push.py

+ 1 - 1
report_push.py

@@ -444,7 +444,7 @@ class ReportPush(object):
         select house_id from d_house where brand_id in %s    
     """
 
-    sql_6 = """insert into report_push_log(name, mail, report_name, push_time, send_status, status) values(%s, %s, 
+    sql_6 = """insert into report_push_log(name, mail, report_name, push_time, send_status, status, error_message) values(%s, %s, 
     %s, now(), %s, 1, %s) """
 
     # 根据项目id获取集团id和名称