|
@@ -322,7 +322,7 @@ class MateirialVideoDailyReport:
|
|
left join `jeecg-boot`.ctop_material_info cmi
|
|
left join `jeecg-boot`.ctop_material_info cmi
|
|
on video.signature=cmi.code
|
|
on video.signature=cmi.code
|
|
left join `jeecg-boot`.ctop_material_ascription cma
|
|
left join `jeecg-boot`.ctop_material_ascription cma
|
|
- on video.signature=cma.code
|
|
|
|
|
|
+ on video.signature=cma.material_id
|
|
left join `jeecg-boot`.ctop_user_allocation cua
|
|
left join `jeecg-boot`.ctop_user_allocation cua
|
|
on report.advertiser_id=cua.account_id
|
|
on report.advertiser_id=cua.account_id
|
|
left join `jeecg-boot`.ctop_advertiser ca
|
|
left join `jeecg-boot`.ctop_advertiser ca
|
|
@@ -356,6 +356,7 @@ class MateirialVideoDailyReport:
|
|
logging.error(e)
|
|
logging.error(e)
|
|
return -1
|
|
return -1
|
|
|
|
|
|
|
|
+
|
|
if __name__ == '__main__':
|
|
if __name__ == '__main__':
|
|
status = MateirialVideoDailyReport().daily_report()
|
|
status = MateirialVideoDailyReport().daily_report()
|
|
if status == 0:
|
|
if status == 0:
|