renyupeng 3 gadi atpakaļ
vecāks
revīzija
22bb5c327c

+ 1 - 0
Apietl/bytedance_etl/Q4Task/AppBytedanceImageReportBusiMonth.py

@@ -645,6 +645,7 @@ ON report.account_id = video.advertiser_id AND report.material_id = video.materi
                    ON cp.product_id = product.id
          LEFT JOIN `jeecg-boot`.sys_user su
                    ON cua.user_id = su.id
+         where cua.project_id={project_id}          
 """.format(date_time=self.date_time, day_count=self.day_count, project_id=project_id[0])
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)
                     self.conn.commit()