Browse Source

‘修改null值’

zhl 3 years ago
parent
commit
6c2946da1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Apietl/bytedance_etl/report/MaterialVideoDailyReport.py

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

@@ -319,7 +319,7 @@ class MateirialVideoDailyReport:
                     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
+                    left join (select  code,material_name,cover_url from `jeecg-boot`.ctop_material_info where status=1) cmi
                     on video.signature=cmi.code
                     left join `jeecg-boot`.ctop_material_ascription cma
                     on video.signature=cma.material_id