|
|
@@ -39,8 +39,9 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getBytedanceAdvertiserByAd" resultType="java.util.Map">
|
|
|
- SELECT cast(advertiser_id as char) advertiser_id,cast(cdp_project_id as char) a_id from media_api.bytedance_promoter_report_hour
|
|
|
- where cdp_promotion_id = ${adId} and stat_time_day >= #{statTimeTay} limit 1
|
|
|
+ SELECT "1" media_id,cast(advertiser_id as char) advertiser_id,cast(project_id as char) a_id,cast(promotion_id as char) ad_id
|
|
|
+ from media_api.bytedance_promotion_list
|
|
|
+ where promotion_id = ${adId} limit 1
|
|
|
</select>
|
|
|
<select id="getDZAppIdByChannelId" resultType="java.lang.String">
|
|
|
select m.app_id
|