renyupeng hace 3 años
padre
commit
92d42dbe75

+ 1 - 1
Apietl/bytedance_etl/report/MaterialVideoDailyReport.py

@@ -316,7 +316,7 @@ class MateirialVideoDailyReport:
                            report.`commute_first_pay_count`,
                            video.video_url, cmi.cover_url
                     from media_api.bytedance_material_report_daily report
-                    inner join
+                    left join
                     `media_api`.bytedance_file_video_get video
                     on report.advertiser_id=video.advertiser_id and report.material_id=video.material_id
                     left join `jeecg-boot`.ctop_material_info cmi

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

@@ -274,7 +274,7 @@ select report.advertiser_id
        case when video.channel_type = 1 then '素造' else '内部' end,
        uc.company_id
 from media_api.kuaishou_material_video_report_daily report
-         inner join media_api.kuaishou_video_list video
+         left join media_api.kuaishou_video_list video
                     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.material_id = video.signature

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

@@ -276,7 +276,7 @@ select
        case when video.channel_type = 1 then '素造' else '内部' end as channel_name,
        uc.company_id
 from media_api.kuaishou_material_video_report_hourly report
-         inner join media_api.kuaishou_video_list video
+         left join media_api.kuaishou_video_list video
                     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