|
@@ -1,5 +1,403 @@
|
|
|
-<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
+<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
|
<mapper namespace="cn.com.ctop.job.bytedance.data.mapper.BytedanceMaterialReportDailyMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="cn.com.ctop.job.bytedance.data.entity.BytedanceMaterialReportDaily">
|
|
|
+ <id column="advertiser_id" property="advertiserId" jdbcType="BIGINT"/>
|
|
|
+ <id column="material_id" property="materialId" jdbcType="BIGINT"/>
|
|
|
+ <id column="image_mode" property="imageMode" jdbcType="VARCHAR"/>
|
|
|
+ <id column="inventory" property="inventory" jdbcType="VARCHAR"/>
|
|
|
+ <id column="stat_datetime" property="statDatetime" jdbcType="INTEGER"/>
|
|
|
+ <result column="cost" property="cost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="show" property="show" jdbcType="INTEGER"/>
|
|
|
+ <result column="avg_show_cost" property="avgShowCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="click" property="click" jdbcType="INTEGER"/>
|
|
|
+ <result column="avg_click_cost" property="avgClickCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="ctr" property="ctr" jdbcType="DECIMAL"/>
|
|
|
+ <result column="convert" property="convert" jdbcType="INTEGER"/>
|
|
|
+ <result column="convert_cost" property="convertCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="convert_rate" property="convertRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="deep_convert" property="deepConvert" jdbcType="INTEGER"/>
|
|
|
+ <result column="deep_convert_cost" property="deepConvertCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="deep_convert_rate" property="deepConvertRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="attribution_convert" property="attributionConvert" jdbcType="INTEGER"/>
|
|
|
+ <result column="attribution_convert_cost" property="attributionConvertCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="attribution_deep_convert" property="attributionDeepConvert" jdbcType="INTEGER"/>
|
|
|
+ <result column="attribution_deep_convert_cost" property="attributionDeepConvertCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="download_start" property="downloadStart" jdbcType="INTEGER"/>
|
|
|
+ <result column="download_start_cost" property="downloadStartCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="download_start_rate" property="downloadStartRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="download_finish" property="downloadFinish" jdbcType="INTEGER"/>
|
|
|
+ <result column="download_finish_cost" property="downloadFinishCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="download_finish_rate" property="downloadFinishRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="click_install" property="clickInstall" jdbcType="INTEGER"/>
|
|
|
+ <result column="install_finish" property="installFinish" jdbcType="INTEGER"/>
|
|
|
+ <result column="install_finish_cost" property="installFinishCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="install_finish_rate" property="installFinishRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="active" property="active" jdbcType="INTEGER"/>
|
|
|
+ <result column="active_cost" property="activeCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="active_rate" property="activeRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="register" property="register" jdbcType="INTEGER"/>
|
|
|
+ <result column="active_register_cost" property="activeRegisterCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="active_register_rate" property="activeRegisterRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="active_pay_amount" property="activePayAmount" jdbcType="DECIMAL"/>
|
|
|
+ <result column="next_day_open" property="nextDayOpen" jdbcType="INTEGER"/>
|
|
|
+ <result column="next_day_open_cost" property="nextDayOpenCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="next_day_open_rate" property="nextDayOpenRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="attribution_next_day_open_cnt" property="attributionNextDayOpenCnt" jdbcType="INTEGER"/>
|
|
|
+ <result column="attribution_next_day_open_cost" property="attributionNextDayOpenCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="attribution_next_day_open_rate" property="attributionNextDayOpenRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="game_addiction" property="gameAddiction" jdbcType="INTEGER"/>
|
|
|
+ <result column="game_addiction_cost" property="gameAddictionCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="game_addiction_rate" property="gameAddictionRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="pay_count" property="payCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="active_pay_cost" property="activePayCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="active_pay_rate" property="activePayRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="loan_completion" property="loanCompletion" jdbcType="INTEGER"/>
|
|
|
+ <result column="loan_completion_cost" property="loanCompletionCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="loan_completion_rate" property="loanCompletionRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="pre_loan_credit" property="preLoanCredit" jdbcType="INTEGER"/>
|
|
|
+ <result column="pre_loan_credit_cost" property="preLoanCreditCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="loan_credit" property="loanCredit" jdbcType="INTEGER"/>
|
|
|
+ <result column="loan_credit_cost" property="loanCreditCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="loan_credit_rate" property="loanCreditRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="in_app_uv" property="inAppUv" jdbcType="INTEGER"/>
|
|
|
+ <result column="in_app_detail_uv" property="inAppDetailUv" jdbcType="INTEGER"/>
|
|
|
+ <result column="in_app_cart" property="inAppCart" jdbcType="INTEGER"/>
|
|
|
+ <result column="in_app_pay" property="inAppPay" jdbcType="INTEGER"/>
|
|
|
+ <result column="in_app_order" property="inAppOrder" jdbcType="INTEGER"/>
|
|
|
+ <result column="attribution_game_pay_7d_count" property="attributionGamePay7dCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="attribution_game_pay_7d_cost" property="attributionGamePay7dCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="attribution_active_pay_7d_per_count" property="attributionActivePay7dPerCount"
|
|
|
+ jdbcType="INTEGER"/>
|
|
|
+ <result column="game_pay_cost" property="gamePayCost" jdbcType="INTEGER"/>
|
|
|
+ <result column="game_pay_count" property="gamePayCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="phone" property="phone" jdbcType="INTEGER"/>
|
|
|
+ <result column="form" property="form" jdbcType="INTEGER"/>
|
|
|
+ <result column="map_search" property="mapSearch" jdbcType="INTEGER"/>
|
|
|
+ <result column="button" property="button" jdbcType="INTEGER"/>
|
|
|
+ <result column="view" property="view" jdbcType="INTEGER"/>
|
|
|
+ <result column="download" property="download" jdbcType="INTEGER"/>
|
|
|
+ <result column="qq" property="qq" jdbcType="INTEGER"/>
|
|
|
+ <result column="lottery" property="lottery" jdbcType="INTEGER"/>
|
|
|
+ <result column="vote" property="vote" jdbcType="INTEGER"/>
|
|
|
+ <result column="message" property="message" jdbcType="INTEGER"/>
|
|
|
+ <result column="redirect" property="redirect" jdbcType="INTEGER"/>
|
|
|
+ <result column="shopping" property="shopping" jdbcType="INTEGER"/>
|
|
|
+ <result column="consult" property="consult" jdbcType="INTEGER"/>
|
|
|
+ <result column="wechat" property="wechat" jdbcType="INTEGER"/>
|
|
|
+ <result column="phone_confirm" property="phoneConfirm" jdbcType="INTEGER"/>
|
|
|
+ <result column="phone_connect" property="phoneConnect" jdbcType="INTEGER"/>
|
|
|
+ <result column="consult_effective" property="consultEffective" jdbcType="INTEGER"/>
|
|
|
+ <result column="coupon" property="coupon" jdbcType="INTEGER"/>
|
|
|
+ <result column="coupon_single_page" property="couponSinglePage" jdbcType="INTEGER"/>
|
|
|
+ <result column="redirect_to_shop" property="redirectToShop" jdbcType="INTEGER"/>
|
|
|
+ <result column="poi_collect" property="poiCollect" jdbcType="INTEGER"/>
|
|
|
+ <result column="poi_address_click" property="poiAddressClick" jdbcType="INTEGER"/>
|
|
|
+ <result column="luban_order_cnt" property="lubanOrderCnt" jdbcType="INTEGER"/>
|
|
|
+ <result column="luban_order_stat_amount" property="lubanOrderStatAmount" jdbcType="DECIMAL"/>
|
|
|
+ <result column="luban_order_roi" property="lubanOrderRoi" jdbcType="DECIMAL"/>
|
|
|
+ <result column="luban_live_enter_cnt" property="lubanLiveEnterCnt" jdbcType="INTEGER"/>
|
|
|
+ <result column="live_watch_one_minute_count" property="liveWatchOneMinuteCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="luban_live_follow_cnt" property="lubanLiveFollowCnt" jdbcType="INTEGER"/>
|
|
|
+ <result column="live_fans_club_join_cnt" property="liveFansClubJoinCnt" jdbcType="INTEGER"/>
|
|
|
+ <result column="luban_live_comment_cnt" property="lubanLiveCommentCnt" jdbcType="INTEGER"/>
|
|
|
+ <result column="luban_live_share_cnt" property="lubanLiveShareCnt" jdbcType="INTEGER"/>
|
|
|
+ <result column="luban_live_gift_cnt" property="lubanLiveGiftCnt" jdbcType="INTEGER"/>
|
|
|
+ <result column="luban_live_gift_amount" property="lubanLiveGiftAmount" jdbcType="DECIMAL"/>
|
|
|
+ <result column="luban_live_slidecart_click_cnt" property="lubanLiveSlidecartClickCnt" jdbcType="INTEGER"/>
|
|
|
+ <result column="luban_live_click_product_cnt" property="lubanLiveClickProductCnt" jdbcType="INTEGER"/>
|
|
|
+ <result column="luban_live_pay_order_count" property="lubanLivePayOrderCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="luban_live_pay_order_stat_cost" property="lubanLivePayOrderStatCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="wechat_login_count" property="wechatLoginCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="attribution_wechat_login_30d_count" property="attributionWechatLogin30dCount"
|
|
|
+ jdbcType="INTEGER"/>
|
|
|
+ <result column="wechat_login_cost" property="wechatLoginCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="attribution_wechat_login_30d_cost" property="attributionWechatLogin30dCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="wechat_first_pay_count" property="wechatFirstPayCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="attribution_wechat_first_pay_30d_count" property="attributionWechatFirstPay30dCount"
|
|
|
+ jdbcType="INTEGER"/>
|
|
|
+ <result column="wechat_first_pay_cost" property="wechatFirstPayCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="attribution_wechat_first_pay_30d_cost" property="attributionWechatFirstPay30dCost"
|
|
|
+ jdbcType="DECIMAL"/>
|
|
|
+ <result column="wechat_first_pay_rate" property="wechatFirstPayRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="attribution_wechat_first_pay_30d_rate" property="attributionWechatFirstPay30dRate"
|
|
|
+ jdbcType="DECIMAL"/>
|
|
|
+ <result column="wechat_pay_amount" property="wechatPayAmount" jdbcType="DECIMAL"/>
|
|
|
+ <result column="attribution_wechat_pay_30d_amount" property="attributionWechatPay30dAmount" jdbcType="DECIMAL"/>
|
|
|
+ <result column="attribution_wechat_pay_30d_roi" property="attributionWechatPay30dRoi" jdbcType="DECIMAL"/>
|
|
|
+ <result column="phone_effective" property="phoneEffective" jdbcType="INTEGER"/>
|
|
|
+ <result column="total_play" property="totalPlay" jdbcType="INTEGER"/>
|
|
|
+ <result column="valid_play" property="validPlay" jdbcType="INTEGER"/>
|
|
|
+ <result column="valid_play_cost" property="validPlayCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="valid_play_rate" property="validPlayRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_25_feed_break" property="play25FeedBreak" jdbcType="INTEGER"/>
|
|
|
+ <result column="play_50_feed_break" property="play50FeedBreak" jdbcType="INTEGER"/>
|
|
|
+ <result column="play_75_feed_break" property="play75FeedBreak" jdbcType="INTEGER"/>
|
|
|
+ <result column="play_100_feed_break" property="play100FeedBreak" jdbcType="INTEGER"/>
|
|
|
+ <result column="average_play_time_per_play" property="averagePlayTimePerPlay" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_over_rate" property="playOverRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="wifi_play_rate" property="wifiPlayRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="wifi_play" property="wifiPlay" jdbcType="INTEGER"/>
|
|
|
+ <result column="play_duration_sum" property="playDurationSum" jdbcType="BIGINT"/>
|
|
|
+ <result column="advanced_creative_phone_click" property="advancedCreativePhoneClick" jdbcType="INTEGER"/>
|
|
|
+ <result column="advanced_creative_counsel_click" property="advancedCreativeCounselClick" jdbcType="INTEGER"/>
|
|
|
+ <result column="advanced_creative_form_click" property="advancedCreativeFormClick" jdbcType="INTEGER"/>
|
|
|
+ <result column="advanced_creative_coupon_addition" property="advancedCreativeCouponAddition"
|
|
|
+ jdbcType="INTEGER"/>
|
|
|
+ <result column="advanced_creative_form_submit" property="advancedCreativeFormSubmit" jdbcType="INTEGER"/>
|
|
|
+ <result column="card_show" property="cardShow" jdbcType="INTEGER"/>
|
|
|
+ <result column="share" property="share" jdbcType="INTEGER"/>
|
|
|
+ <result column="comment" property="comment" jdbcType="INTEGER"/>
|
|
|
+ <result column="like" property="like" jdbcType="INTEGER"/>
|
|
|
+ <result column="follow" property="follow" jdbcType="INTEGER"/>
|
|
|
+ <result column="home_visited" property="homeVisited" jdbcType="INTEGER"/>
|
|
|
+ <result column="ies_challenge_click" property="iesChallengeClick" jdbcType="INTEGER"/>
|
|
|
+ <result column="ies_music_click" property="iesMusicClick" jdbcType="INTEGER"/>
|
|
|
+ <result column="location_click" property="locationClick" jdbcType="INTEGER"/>
|
|
|
+ <result column="message_action" property="messageAction" jdbcType="INTEGER"/>
|
|
|
+ <result column="click_landing_page" property="clickLandingPage" jdbcType="INTEGER"/>
|
|
|
+ <result column="click_shopwindow" property="clickShopwindow" jdbcType="INTEGER"/>
|
|
|
+ <result column="click_website" property="clickWebsite" jdbcType="INTEGER"/>
|
|
|
+ <result column="click_download" property="clickDownload" jdbcType="INTEGER"/>
|
|
|
+ <result column="click_call_dy" property="clickCallDy" jdbcType="INTEGER"/>
|
|
|
+ <result column="cpc" property="cpc" jdbcType="DECIMAL"/>
|
|
|
+ <result column="cpm" property="cpm" jdbcType="DECIMAL"/>
|
|
|
+ <result column="cpa" property="cpa" jdbcType="DECIMAL"/>
|
|
|
+ <result column="interact_per_cost" property="interactPerCost" jdbcType="DECIMAL"/>
|
|
|
+ <result column="convert_show_rate" property="convertShowRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_duration_10s_rate" property="playDuration10sRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_50_feed_break_rate" property="play50FeedBreakRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_25_feed_break_rate" property="play25FeedBreakRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_duration_5s_rate" property="playDuration5sRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_duration_2s_rate" property="playDuration2sRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="average_play_progress" property="averagePlayProgress" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_100_feed_break_rate" property="play100FeedBreakRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_duration_3s_rate" property="playDuration3sRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_75_feed_break_rate" property="play75FeedBreakRate" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_duration" property="playDuration" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_duration_3s" property="playDuration3s" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_duration_2s" property="playDuration2s" jdbcType="DECIMAL"/>
|
|
|
+ <result column="play_duration_10s" property="playDuration10s" jdbcType="DECIMAL"/>
|
|
|
+ <result column="average_video_play" property="averageVideoPlay" jdbcType="DECIMAL"/>
|
|
|
+ <result column="avg_rank" property="avgRank" jdbcType="DECIMAL"/>
|
|
|
+ <result column="submit_certification_count" property="submitCertificationCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="approval_count" property="approvalCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="first_order_count" property="firstOrderCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="first_rental_order_count" property="firstRentalOrderCount" jdbcType="INTEGER"/>
|
|
|
+ <result column="commute_first_pay_count" property="commuteFirstPayCount" jdbcType="INTEGER"/>
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ advertiser_id, material_id, image_mode, inventory, stat_datetime, cost, show, avg_show_cost,
|
|
|
+ click, avg_click_cost, ctr, convert, convert_cost, convert_rate, deep_convert, deep_convert_cost,
|
|
|
+ deep_convert_rate, attribution_convert, attribution_convert_cost, attribution_deep_convert,
|
|
|
+ attribution_deep_convert_cost, download_start, download_start_cost, download_start_rate,
|
|
|
+ download_finish, download_finish_cost, download_finish_rate, click_install, install_finish,
|
|
|
+ install_finish_cost, install_finish_rate, active, active_cost, active_rate, register,
|
|
|
+ active_register_cost, active_register_rate, active_pay_amount, next_day_open, next_day_open_cost,
|
|
|
+ next_day_open_rate, attribution_next_day_open_cnt, attribution_next_day_open_cost,
|
|
|
+ attribution_next_day_open_rate, game_addiction, game_addiction_cost, game_addiction_rate,
|
|
|
+ pay_count, active_pay_cost, active_pay_rate, loan_completion, loan_completion_cost,
|
|
|
+ loan_completion_rate, pre_loan_credit, pre_loan_credit_cost, loan_credit, loan_credit_cost,
|
|
|
+ loan_credit_rate, in_app_uv, in_app_detail_uv, in_app_cart, in_app_pay, in_app_order,
|
|
|
+ attribution_game_pay_7d_count, attribution_game_pay_7d_cost, attribution_active_pay_7d_per_count,
|
|
|
+ game_pay_cost, game_pay_count, phone, form, map_search, button, view, download, qq,
|
|
|
+ lottery, vote, message, redirect, shopping, consult, wechat, phone_confirm, phone_connect,
|
|
|
+ consult_effective, coupon, coupon_single_page, redirect_to_shop, poi_collect, poi_address_click,
|
|
|
+ luban_order_cnt, luban_order_stat_amount, luban_order_roi, luban_live_enter_cnt,
|
|
|
+ live_watch_one_minute_count, luban_live_follow_cnt, live_fans_club_join_cnt, luban_live_comment_cnt,
|
|
|
+ luban_live_share_cnt, luban_live_gift_cnt, luban_live_gift_amount, luban_live_slidecart_click_cnt,
|
|
|
+ luban_live_click_product_cnt, luban_live_pay_order_count, luban_live_pay_order_stat_cost,
|
|
|
+ wechat_login_count, attribution_wechat_login_30d_count, wechat_login_cost, attribution_wechat_login_30d_cost,
|
|
|
+ wechat_first_pay_count, attribution_wechat_first_pay_30d_count, wechat_first_pay_cost,
|
|
|
+ attribution_wechat_first_pay_30d_cost, wechat_first_pay_rate, attribution_wechat_first_pay_30d_rate,
|
|
|
+ wechat_pay_amount, attribution_wechat_pay_30d_amount, attribution_wechat_pay_30d_roi,
|
|
|
+ phone_effective, total_play, valid_play, valid_play_cost, valid_play_rate, play_25_feed_break,
|
|
|
+ play_50_feed_break, play_75_feed_break, play_100_feed_break, average_play_time_per_play,
|
|
|
+ play_over_rate, wifi_play_rate, wifi_play, play_duration_sum, advanced_creative_phone_click,
|
|
|
+ advanced_creative_counsel_click, advanced_creative_form_click, advanced_creative_coupon_addition,
|
|
|
+ advanced_creative_form_submit, card_show, share, comment, like, follow, home_visited,
|
|
|
+ ies_challenge_click, ies_music_click, location_click, message_action, click_landing_page,
|
|
|
+ click_shopwindow, click_website, click_download, click_call_dy, cpc, cpm, cpa, interact_per_cost,
|
|
|
+ convert_show_rate, play_duration_10s_rate, play_50_feed_break_rate, play_25_feed_break_rate,
|
|
|
+ play_duration_5s_rate, play_duration_2s_rate, average_play_progress, play_100_feed_break_rate,
|
|
|
+ play_duration_3s_rate, play_75_feed_break_rate, play_duration, play_duration_3s,
|
|
|
+ play_duration_2s, play_duration_10s, average_video_play, avg_rank, submit_certification_count,
|
|
|
+ approval_count, first_order_count, first_rental_order_count, commute_first_pay_count
|
|
|
+ </sql>
|
|
|
+
|
|
|
+ <insert id="insert" parameterType="cn.com.ctop.job.bytedance.data.entity.BytedanceMaterialReportDaily">
|
|
|
+ replace into bytedance_material_report_daily (advertiser_id, material_id, image_mode,
|
|
|
+ inventory, stat_datetime, cost,
|
|
|
+ `show`, avg_show_cost, click,
|
|
|
+ avg_click_cost, ctr, `convert`,
|
|
|
+ convert_cost, convert_rate, deep_convert,
|
|
|
+ deep_convert_cost, deep_convert_rate, attribution_convert,
|
|
|
+ attribution_convert_cost, attribution_deep_convert,
|
|
|
+ attribution_deep_convert_cost, download_start,
|
|
|
+ download_start_cost, download_start_rate, download_finish,
|
|
|
+ download_finish_cost, download_finish_rate,
|
|
|
+ click_install, install_finish, install_finish_cost,
|
|
|
+ install_finish_rate, active, active_cost,
|
|
|
+ active_rate, register, active_register_cost,
|
|
|
+ active_register_rate, active_pay_amount, next_day_open,
|
|
|
+ next_day_open_cost, next_day_open_rate, attribution_next_day_open_cnt,
|
|
|
+ attribution_next_day_open_cost, attribution_next_day_open_rate,
|
|
|
+ game_addiction, game_addiction_cost, game_addiction_rate,
|
|
|
+ pay_count, active_pay_cost, active_pay_rate,
|
|
|
+ loan_completion, loan_completion_cost, loan_completion_rate,
|
|
|
+ pre_loan_credit, pre_loan_credit_cost, loan_credit,
|
|
|
+ loan_credit_cost, loan_credit_rate, in_app_uv,
|
|
|
+ in_app_detail_uv, in_app_cart, in_app_pay,
|
|
|
+ in_app_order, attribution_game_pay_7d_count,
|
|
|
+ attribution_game_pay_7d_cost, attribution_active_pay_7d_per_count,
|
|
|
+ game_pay_cost, game_pay_count, phone,
|
|
|
+ form, map_search, button,
|
|
|
+ `view`, download, qq,
|
|
|
+ lottery, vote, message,
|
|
|
+ redirect, shopping, consult,
|
|
|
+ wechat, phone_confirm, phone_connect,
|
|
|
+ consult_effective, coupon, coupon_single_page,
|
|
|
+ redirect_to_shop, poi_collect, poi_address_click,
|
|
|
+ luban_order_cnt, luban_order_stat_amount, luban_order_roi,
|
|
|
+ luban_live_enter_cnt, live_watch_one_minute_count,
|
|
|
+ luban_live_follow_cnt, live_fans_club_join_cnt,
|
|
|
+ luban_live_comment_cnt, luban_live_share_cnt,
|
|
|
+ luban_live_gift_cnt, luban_live_gift_amount,
|
|
|
+ luban_live_slidecart_click_cnt, luban_live_click_product_cnt,
|
|
|
+ luban_live_pay_order_count, luban_live_pay_order_stat_cost,
|
|
|
+ wechat_login_count, attribution_wechat_login_30d_count,
|
|
|
+ wechat_login_cost, attribution_wechat_login_30d_cost,
|
|
|
+ wechat_first_pay_count, attribution_wechat_first_pay_30d_count,
|
|
|
+ wechat_first_pay_cost, attribution_wechat_first_pay_30d_cost,
|
|
|
+ wechat_first_pay_rate, attribution_wechat_first_pay_30d_rate,
|
|
|
+ wechat_pay_amount, attribution_wechat_pay_30d_amount,
|
|
|
+ attribution_wechat_pay_30d_roi, phone_effective,
|
|
|
+ total_play, valid_play, valid_play_cost,
|
|
|
+ valid_play_rate, play_25_feed_break, play_50_feed_break,
|
|
|
+ play_75_feed_break, play_100_feed_break, average_play_time_per_play,
|
|
|
+ play_over_rate, wifi_play_rate, wifi_play,
|
|
|
+ play_duration_sum, advanced_creative_phone_click,
|
|
|
+ advanced_creative_counsel_click, advanced_creative_form_click,
|
|
|
+ advanced_creative_coupon_addition, advanced_creative_form_submit,
|
|
|
+ card_show, `share`, `comment`,
|
|
|
+ `like``, follow, home_visited,
|
|
|
+ ies_challenge_click, ies_music_click, location_click,
|
|
|
+ message_action, click_landing_page, click_shopwindow,
|
|
|
+ click_website, click_download, click_call_dy,
|
|
|
+ cpc, cpm, cpa, interact_per_cost,
|
|
|
+ convert_show_rate, play_duration_10s_rate, play_50_feed_break_rate,
|
|
|
+ play_25_feed_break_rate, play_duration_5s_rate,
|
|
|
+ play_duration_2s_rate, average_play_progress,
|
|
|
+ play_100_feed_break_rate, play_duration_3s_rate,
|
|
|
+ play_75_feed_break_rate, play_duration, play_duration_3s,
|
|
|
+ play_duration_2s, play_duration_10s, average_video_play,
|
|
|
+ avg_rank, submit_certification_count, approval_count,
|
|
|
+ first_order_count, first_rental_order_count,
|
|
|
+ commute_first_pay_count)
|
|
|
+ values
|
|
|
+ <foreach collection="list" item="item" separator=",">
|
|
|
+ (#{item.advertiserId,jdbcType=BIGINT}, #{item.materialId,jdbcType=BIGINT},
|
|
|
+ #{item.imageMode,jdbcType=VARCHAR},
|
|
|
+ #{item.inventory,jdbcType=VARCHAR}, #{item.statDatetime,jdbcType=INTEGER}, #{item.cost,jdbcType=DECIMAL},
|
|
|
+ #{item.show,jdbcType=INTEGER}, #{item.avgShowCost,jdbcType=DECIMAL}, #{item.click,jdbcType=INTEGER},
|
|
|
+ #{item.avgClickCost,jdbcType=DECIMAL}, #{item.ctr,jdbcType=DECIMAL}, #{item.convert,jdbcType=INTEGER},
|
|
|
+ #{item.convertCost,jdbcType=DECIMAL}, #{item.convertRate,jdbcType=DECIMAL},
|
|
|
+ #{item.deepConvert,jdbcType=INTEGER},
|
|
|
+ #{item.deepConvertCost,jdbcType=DECIMAL}, #{item.deepConvertRate,jdbcType=DECIMAL},
|
|
|
+ #{item.attributionConvert,jdbcType=INTEGER},
|
|
|
+ #{item.attributionConvertCost,jdbcType=DECIMAL}, #{item.attributionDeepConvert,jdbcType=INTEGER},
|
|
|
+ #{item.attributionDeepConvertCost,jdbcType=DECIMAL}, #{item.downloadStart,jdbcType=INTEGER},
|
|
|
+ #{item.downloadStartCost,jdbcType=DECIMAL}, #{item.downloadStartRate,jdbcType=DECIMAL},
|
|
|
+ #{item.downloadFinish,jdbcType=INTEGER},
|
|
|
+ #{item.downloadFinishCost,jdbcType=DECIMAL}, #{item.downloadFinishRate,jdbcType=DECIMAL},
|
|
|
+ #{item.clickInstall,jdbcType=INTEGER}, #{item.installFinish,jdbcType=INTEGER},
|
|
|
+ #{item.installFinishCost,jdbcType=DECIMAL},
|
|
|
+ #{item.installFinishRate,jdbcType=DECIMAL}, #{item.active,jdbcType=INTEGER},
|
|
|
+ #{item.activeCost,jdbcType=DECIMAL},
|
|
|
+ #{item.activeRate,jdbcType=DECIMAL}, #{item.register,jdbcType=INTEGER},
|
|
|
+ #{item.activeRegisterCost,jdbcType=DECIMAL},
|
|
|
+ #{item.activeRegisterRate,jdbcType=DECIMAL}, #{item.activePayAmount,jdbcType=DECIMAL},
|
|
|
+ #{item.nextDayOpen,jdbcType=INTEGER},
|
|
|
+ #{item.nextDayOpenCost,jdbcType=DECIMAL}, #{item.nextDayOpenRate,jdbcType=DECIMAL},
|
|
|
+ #{item.attributionNextDayOpenCnt,jdbcType=INTEGER},
|
|
|
+ #{item.attributionNextDayOpenCost,jdbcType=DECIMAL}, #{item.attributionNextDayOpenRate,jdbcType=DECIMAL},
|
|
|
+ #{item.gameAddiction,jdbcType=INTEGER}, #{item.gameAddictionCost,jdbcType=DECIMAL},
|
|
|
+ #{item.gameAddictionRate,jdbcType=DECIMAL},
|
|
|
+ #{item.payCount,jdbcType=INTEGER}, #{item.activePayCost,jdbcType=DECIMAL},
|
|
|
+ #{item.activePayRate,jdbcType=DECIMAL},
|
|
|
+ #{item.loanCompletion,jdbcType=INTEGER}, #{item.loanCompletionCost,jdbcType=DECIMAL},
|
|
|
+ #{item.loanCompletionRate,jdbcType=DECIMAL},
|
|
|
+ #{item.preLoanCredit,jdbcType=INTEGER}, #{item.preLoanCreditCost,jdbcType=DECIMAL},
|
|
|
+ #{item.loanCredit,jdbcType=INTEGER},
|
|
|
+ #{item.loanCreditCost,jdbcType=DECIMAL}, #{item.loanCreditRate,jdbcType=DECIMAL},
|
|
|
+ #{item.inAppUv,jdbcType=INTEGER},
|
|
|
+ #{item.inAppDetailUv,jdbcType=INTEGER}, #{item.inAppCart,jdbcType=INTEGER},
|
|
|
+ #{item.inAppPay,jdbcType=INTEGER},
|
|
|
+ #{item.inAppOrder,jdbcType=INTEGER}, #{item.attributionGamePay7dCount,jdbcType=INTEGER},
|
|
|
+ #{item.attributionGamePay7dCost,jdbcType=DECIMAL}, #{item.attributionActivePay7dPerCount,jdbcType=INTEGER},
|
|
|
+ #{item.gamePayCost,jdbcType=INTEGER}, #{item.gamePayCount,jdbcType=INTEGER}, #{item.phone,jdbcType=INTEGER},
|
|
|
+ #{item.form,jdbcType=INTEGER}, #{item.mapSearch,jdbcType=INTEGER}, #{item.button,jdbcType=INTEGER},
|
|
|
+ #{item.view,jdbcType=INTEGER}, #{item.download,jdbcType=INTEGER}, #{item.qq,jdbcType=INTEGER},
|
|
|
+ #{item.lottery,jdbcType=INTEGER}, #{item.vote,jdbcType=INTEGER}, #{item.message,jdbcType=INTEGER},
|
|
|
+ #{item.redirect,jdbcType=INTEGER}, #{item.shopping,jdbcType=INTEGER}, #{item.consult,jdbcType=INTEGER},
|
|
|
+ #{item.wechat,jdbcType=INTEGER}, #{item.phoneConfirm,jdbcType=INTEGER},
|
|
|
+ #{item.phoneConnect,jdbcType=INTEGER},
|
|
|
+ #{item.consultEffective,jdbcType=INTEGER}, #{item.coupon,jdbcType=INTEGER},
|
|
|
+ #{item.couponSinglePage,jdbcType=INTEGER},
|
|
|
+ #{item.redirectToShop,jdbcType=INTEGER}, #{item.poiCollect,jdbcType=INTEGER},
|
|
|
+ #{item.poiAddressClick,jdbcType=INTEGER},
|
|
|
+ #{item.lubanOrderCnt,jdbcType=INTEGER}, #{item.lubanOrderStatAmount,jdbcType=DECIMAL},
|
|
|
+ #{item.lubanOrderRoi,jdbcType=DECIMAL},
|
|
|
+ #{item.lubanLiveEnterCnt,jdbcType=INTEGER}, #{item.liveWatchOneMinuteCount,jdbcType=INTEGER},
|
|
|
+ #{item.lubanLiveFollowCnt,jdbcType=INTEGER}, #{item.liveFansClubJoinCnt,jdbcType=INTEGER},
|
|
|
+ #{item.lubanLiveCommentCnt,jdbcType=INTEGER}, #{item.lubanLiveShareCnt,jdbcType=INTEGER},
|
|
|
+ #{item.lubanLiveGiftCnt,jdbcType=INTEGER}, #{item.lubanLiveGiftAmount,jdbcType=DECIMAL},
|
|
|
+ #{item.lubanLiveSlidecartClickCnt,jdbcType=INTEGER}, #{item.lubanLiveClickProductCnt,jdbcType=INTEGER},
|
|
|
+ #{item.lubanLivePayOrderCount,jdbcType=INTEGER}, #{item.lubanLivePayOrderStatCost,jdbcType=DECIMAL},
|
|
|
+ #{item.wechatLoginCount,jdbcType=INTEGER}, #{item.attributionWechatLogin30dCount,jdbcType=INTEGER},
|
|
|
+ #{item.wechatLoginCost,jdbcType=DECIMAL}, #{item.attributionWechatLogin30dCost,jdbcType=DECIMAL},
|
|
|
+ #{item.wechatFirstPayCount,jdbcType=INTEGER}, #{item.attributionWechatFirstPay30dCount,jdbcType=INTEGER},
|
|
|
+ #{item.wechatFirstPayCost,jdbcType=DECIMAL}, #{item.attributionWechatFirstPay30dCost,jdbcType=DECIMAL},
|
|
|
+ #{item.wechatFirstPayRate,jdbcType=DECIMAL}, #{item.attributionWechatFirstPay30dRate,jdbcType=DECIMAL},
|
|
|
+ #{item.wechatPayAmount,jdbcType=DECIMAL}, #{item.attributionWechatPay30dAmount,jdbcType=DECIMAL},
|
|
|
+ #{item.attributionWechatPay30dRoi,jdbcType=DECIMAL}, #{item.phoneEffective,jdbcType=INTEGER},
|
|
|
+ #{item.totalPlay,jdbcType=INTEGER}, #{item.validPlay,jdbcType=INTEGER},
|
|
|
+ #{item.validPlayCost,jdbcType=DECIMAL},
|
|
|
+ #{item.validPlayRate,jdbcType=DECIMAL}, #{item.play25FeedBreak,jdbcType=INTEGER},
|
|
|
+ #{item.play50FeedBreak,jdbcType=INTEGER},
|
|
|
+ #{item.play75FeedBreak,jdbcType=INTEGER}, #{item.play100FeedBreak,jdbcType=INTEGER},
|
|
|
+ #{item.averagePlayTimePerPlay,jdbcType=DECIMAL},
|
|
|
+ #{item.playOverRate,jdbcType=DECIMAL}, #{item.wifiPlayRate,jdbcType=DECIMAL},
|
|
|
+ #{item.wifiPlay,jdbcType=INTEGER},
|
|
|
+ #{item.playDurationSum,jdbcType=BIGINT}, #{item.advancedCreativePhoneClick,jdbcType=INTEGER},
|
|
|
+ #{item.advancedCreativeCounselClick,jdbcType=INTEGER}, #{item.advancedCreativeFormClick,jdbcType=INTEGER},
|
|
|
+ #{item.advancedCreativeCouponAddition,jdbcType=INTEGER},
|
|
|
+ #{item.advancedCreativeFormSubmit,jdbcType=INTEGER},
|
|
|
+ #{item.cardShow,jdbcType=INTEGER}, #{item.share,jdbcType=INTEGER}, #{item.comment,jdbcType=INTEGER},
|
|
|
+ #{item.like,jdbcType=INTEGER}, #{item.follow,jdbcType=INTEGER}, #{item.homeVisited,jdbcType=INTEGER},
|
|
|
+ #{item.iesChallengeClick,jdbcType=INTEGER}, #{item.iesMusicClick,jdbcType=INTEGER},
|
|
|
+ #{item.locationClick,jdbcType=INTEGER},
|
|
|
+ #{item.messageAction,jdbcType=INTEGER}, #{item.clickLandingPage,jdbcType=INTEGER},
|
|
|
+ #{item.clickShopwindow,jdbcType=INTEGER},
|
|
|
+ #{item.clickWebsite,jdbcType=INTEGER}, #{item.clickDownload,jdbcType=INTEGER},
|
|
|
+ #{item.clickCallDy,jdbcType=INTEGER},
|
|
|
+ #{item.cpc,jdbcType=DECIMAL}, #{item.cpm,jdbcType=DECIMAL}, #{item.cpa,jdbcType=DECIMAL},
|
|
|
+ #{item.interactPerCost,jdbcType=DECIMAL},
|
|
|
+ #{item.convertShowRate,jdbcType=DECIMAL}, #{item.playDuration10sRate,jdbcType=DECIMAL},
|
|
|
+ #{item.play50FeedBreakRate,jdbcType=DECIMAL},
|
|
|
+ #{item.play25FeedBreakRate,jdbcType=DECIMAL}, #{item.playDuration5sRate,jdbcType=DECIMAL},
|
|
|
+ #{item.playDuration2sRate,jdbcType=DECIMAL}, #{item.averagePlayProgress,jdbcType=DECIMAL},
|
|
|
+ #{item.play100FeedBreakRate,jdbcType=DECIMAL}, #{item.playDuration3sRate,jdbcType=DECIMAL},
|
|
|
+ #{item.play75FeedBreakRate,jdbcType=DECIMAL}, #{item.playDuration,jdbcType=DECIMAL},
|
|
|
+ #{item.playDuration3s,jdbcType=DECIMAL},
|
|
|
+ #{item.playDuration2s,jdbcType=DECIMAL}, #{item.playDuration10s,jdbcType=DECIMAL},
|
|
|
+ #{item.averageVideoPlay,jdbcType=DECIMAL},
|
|
|
+ #{item.avgRank,jdbcType=DECIMAL}, #{item.submitCertificationCount,jdbcType=INTEGER},
|
|
|
+ #{item.approvalCount,jdbcType=INTEGER},
|
|
|
+ #{item.firstOrderCount,jdbcType=INTEGER}, #{item.firstRentalOrderCount,jdbcType=INTEGER},
|
|
|
+ #{item.commuteFirstPayCount,jdbcType=INTEGER})
|
|
|
+ </foreach>
|
|
|
+ </insert>
|
|
|
|
|
|
</mapper>
|