|
@@ -150,6 +150,15 @@ from (select * from `jeecg-boot`.ctop_user_allocation where media_id = 1) t1
|
|
|
group by advertiser_id
|
|
|
)pro
|
|
|
on t1.account_id=pro.advertiser_id
|
|
|
+
|
|
|
+
|
|
|
+ left join(
|
|
|
+ select advertiser_id,count(distinct promotion_id) as project_num from media_api.bytedance_promotion_list
|
|
|
+ where date_format(promotion_create_time, '%Y%m%d') = {date_time}
|
|
|
+ group by advertiser_id
|
|
|
+ )promotion
|
|
|
+ on t1.account_id=promotion.advertiser_id
|
|
|
+
|
|
|
|
|
|
left join
|
|
|
(select t2.account_id, count(distinct t1.signature) new_hot_material
|