|
@@ -4,12 +4,12 @@
|
|
|
<mapper namespace="com.adx.tencent.storage.mapper.BidEventMapper">
|
|
<mapper namespace="com.adx.tencent.storage.mapper.BidEventMapper">
|
|
|
<insert id="insertOrUpdate">
|
|
<insert id="insertOrUpdate">
|
|
|
INSERT INTO tencent_ad_bid_events (
|
|
INSERT INTO tencent_ad_bid_events (
|
|
|
- qk, media, media_trace_id, platform, ad_id, account_id,
|
|
|
|
|
|
|
+ qk, media, media_trace_id, platform, ad_id, account_id, event_type,
|
|
|
req_id, bid_id, creative_id, imp_id, tag_id, price,
|
|
req_id, bid_id, creative_id, imp_id, tag_id, price,
|
|
|
show_urls, click_urls, landing_page, app_store_link, package_name,
|
|
show_urls, click_urls, landing_page, app_store_link, package_name,
|
|
|
media_params, created_at
|
|
media_params, created_at
|
|
|
) VALUES (
|
|
) VALUES (
|
|
|
- #{qk}, #{media}, #{mediaTraceId}, #{platform}, #{adId}, #{accountId},
|
|
|
|
|
|
|
+ #{qk}, #{media}, #{mediaTraceId}, #{platform}, #{adId}, #{accountId}, #{eventType},
|
|
|
#{reqId}, #{bidId}, #{creativeId},
|
|
#{reqId}, #{bidId}, #{creativeId},
|
|
|
#{impId}, #{tagId}, #{price}, #{showUrls}, #{clickUrls}, #{landingPage},
|
|
#{impId}, #{tagId}, #{price}, #{showUrls}, #{clickUrls}, #{landingPage},
|
|
|
#{appStoreLink}, #{packageName}, #{mediaParams}, #{createdAt}
|
|
#{appStoreLink}, #{packageName}, #{mediaParams}, #{createdAt}
|
|
@@ -20,6 +20,7 @@
|
|
|
platform = VALUES(platform),
|
|
platform = VALUES(platform),
|
|
|
ad_id = VALUES(ad_id),
|
|
ad_id = VALUES(ad_id),
|
|
|
account_id = VALUES(account_id),
|
|
account_id = VALUES(account_id),
|
|
|
|
|
+ event_type = VALUES(event_type),
|
|
|
req_id = VALUES(req_id),
|
|
req_id = VALUES(req_id),
|
|
|
bid_id = VALUES(bid_id),
|
|
bid_id = VALUES(bid_id),
|
|
|
creative_id = VALUES(creative_id),
|
|
creative_id = VALUES(creative_id),
|