renyupeng 3 年之前
父节点
当前提交
10b180d335
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Apietl/kwai_etl/report/DeleteMateirialVideoDailyReport.py

+ 1 - 1
Apietl/kwai_etl/report/DeleteMateirialVideoDailyReport.py

@@ -284,7 +284,7 @@ from media_api.kuaishou_material_video_report_daily report
          left join `jeecg-boot`.user_company uc on uc.user_id = clip.id
          left join `jeecg-boot`.ctop_product product on product.id = cp.product_id
  where report.stat_date between {start_time} and {end_time} 
- and photo_id = 0
+ and report.photo_id = 0
 """.format(start_time=self.start_time, end_time=self.end_time)
             print(sql)
             TidbConn.upsert(conn=self.conn, sql_buff=sql)