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