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

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

@@ -280,7 +280,7 @@ from media_api.kuaishou_material_video_report_hourly report
                     on report.advertiser_id = video.account_id and report.photo_id = video.photo_id
          left join `jeecg-boot`.ctop_material_info cmi on video.signature = cmi.code
          left join `jeecg-boot`.ctop_material_ascription cma on cma.code = video.signature
-         left join `jeecg-boot`.ctop_user_allocation cua on cua.account_id = video.account_id
+         left join `jeecg-boot`.ctop_user_allocation cua on cua.account_id = report.advertiser_id
          left join `jeecg-boot`.ctop_project cp on cua.project_id = cp.id
          left join `jeecg-boot`.ctop_advertiser ca on ca.id = cua.advertiser_id
          left join `jeecg-boot`.sys_user su on su.id = cua.user_id