|
@@ -108,4 +108,395 @@
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <insert id="insertSelective" parameterType="cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportDailyGroup" >
|
|
|
+ replace into ctop_kuaishou_report_daily_group
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
+ <if test="id != null" >
|
|
|
+ id,
|
|
|
+ </if>
|
|
|
+ <if test="accountId != null" >
|
|
|
+ account_id,
|
|
|
+ </if>
|
|
|
+ <if test="unitId != null" >
|
|
|
+ unit_id,
|
|
|
+ </if>
|
|
|
+ <if test="campaignId != null" >
|
|
|
+ campaign_id,
|
|
|
+ </if>
|
|
|
+ <if test="status != null" >
|
|
|
+ status,
|
|
|
+ </if>
|
|
|
+ <if test="charge != null" >
|
|
|
+ charge,
|
|
|
+ </if>
|
|
|
+ <if test="photoShow != null" >
|
|
|
+ photo_show,
|
|
|
+ </if>
|
|
|
+ <if test="aclick != null" >
|
|
|
+ aclick,
|
|
|
+ </if>
|
|
|
+ <if test="bclick != null" >
|
|
|
+ bclick,
|
|
|
+ </if>
|
|
|
+ <if test="photoShare != null" >
|
|
|
+ photo_share,
|
|
|
+ </if>
|
|
|
+ <if test="photoComment != null" >
|
|
|
+ photo_comment,
|
|
|
+ </if>
|
|
|
+ <if test="photoLike != null" >
|
|
|
+ photo_like,
|
|
|
+ </if>
|
|
|
+ <if test="follow != null" >
|
|
|
+ follow,
|
|
|
+ </if>
|
|
|
+ <if test="cancelFollow != null" >
|
|
|
+ cancel_follow,
|
|
|
+ </if>
|
|
|
+ <if test="report != null" >
|
|
|
+ report,
|
|
|
+ </if>
|
|
|
+ <if test="block != null" >
|
|
|
+ block,
|
|
|
+ </if>
|
|
|
+ <if test="negative != null" >
|
|
|
+ negative,
|
|
|
+ </if>
|
|
|
+ <if test="downloadStarted != null" >
|
|
|
+ download_started,
|
|
|
+ </if>
|
|
|
+ <if test="downloadCompleted != null" >
|
|
|
+ download_completed,
|
|
|
+ </if>
|
|
|
+ <if test="activation != null" >
|
|
|
+ activation,
|
|
|
+ </if>
|
|
|
+ <if test="submit != null" >
|
|
|
+ submit,
|
|
|
+ </if>
|
|
|
+ <if test="statDate != null" >
|
|
|
+ stat_date,
|
|
|
+ </if>
|
|
|
+ <if test="photoClick != null" >
|
|
|
+ photo_click,
|
|
|
+ </if>
|
|
|
+ <if test="photoClickRatio != null" >
|
|
|
+ photo_click_ratio,
|
|
|
+ </if>
|
|
|
+ <if test="actionRatio != null" >
|
|
|
+ action_ratio,
|
|
|
+ </if>
|
|
|
+ <if test="impression1kCost != null" >
|
|
|
+ impression_1k_cost,
|
|
|
+ </if>
|
|
|
+ <if test="photoClickCost != null" >
|
|
|
+ photo_click_cost,
|
|
|
+ </if>
|
|
|
+ <if test="actionCost != null" >
|
|
|
+ action_cost,
|
|
|
+ </if>
|
|
|
+ <if test="eventPayFirstDay != null" >
|
|
|
+ event_pay_first_day,
|
|
|
+ </if>
|
|
|
+ <if test="eventPayPurchaseAmountFirstDay != null" >
|
|
|
+ event_pay_purchase_amount_first_day,
|
|
|
+ </if>
|
|
|
+ <if test="eventPayFirstDayRoi != null" >
|
|
|
+ event_pay_first_day_roi,
|
|
|
+ </if>
|
|
|
+ <if test="eventPay != null" >
|
|
|
+ event_pay,
|
|
|
+ </if>
|
|
|
+ <if test="eventPayPurchaseAmount != null" >
|
|
|
+ event_pay_purchase_amount,
|
|
|
+ </if>
|
|
|
+ <if test="eventPayRoi != null" >
|
|
|
+ event_pay_roi,
|
|
|
+ </if>
|
|
|
+ <if test="eventRegister != null" >
|
|
|
+ event_register,
|
|
|
+ </if>
|
|
|
+ <if test="eventRegisterCost != null" >
|
|
|
+ event_register_cost,
|
|
|
+ </if>
|
|
|
+ <if test="eventRegisterRatio != null" >
|
|
|
+ event_register_ratio,
|
|
|
+ </if>
|
|
|
+ <if test="eventJinJianApp != null" >
|
|
|
+ event_jin_jian_app,
|
|
|
+ </if>
|
|
|
+ <if test="eventJinJianAppCost != null" >
|
|
|
+ event_jin_jian_app_cost,
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantApp != null" >
|
|
|
+ event_credit_grant_app,
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantAppCost != null" >
|
|
|
+ event_credit_grant_app_cost,
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantAppRatio != null" >
|
|
|
+ event_credit_grant_app_ratio,
|
|
|
+ </if>
|
|
|
+ <if test="eventOrderPaid != null" >
|
|
|
+ event_order_paid,
|
|
|
+ </if>
|
|
|
+ <if test="eventOrderPaidPurchaseAmount != null" >
|
|
|
+ event_order_paid_purchase_amount,
|
|
|
+ </if>
|
|
|
+ <if test="eventJinJianLandingPage != null" >
|
|
|
+ event_jin_jian_landing_page,
|
|
|
+ </if>
|
|
|
+ <if test="eventJinJianLandingPageCost != null" >
|
|
|
+ event_jin_jian_landing_page_cost,
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantLandingPage != null" >
|
|
|
+ event_credit_grant_landing_page,
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantLandingPageCost != null" >
|
|
|
+ event_credit_grant_landing_page_cost,
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantLandingRatio != null" >
|
|
|
+ event_credit_grant_landing_ratio,
|
|
|
+ </if>
|
|
|
+ <if test="eventNextDayStayCost != null" >
|
|
|
+ event_next_day_stay_cost,
|
|
|
+ </if>
|
|
|
+ <if test="eventNextDayStayRatio != null" >
|
|
|
+ event_next_day_stay_ratio,
|
|
|
+ </if>
|
|
|
+ <if test="formActionRatio != null" >
|
|
|
+ form_action_ratio,
|
|
|
+ </if>
|
|
|
+ <if test="eventOrderPaidCost != null" >
|
|
|
+ event_order_paid_cost,
|
|
|
+ </if>
|
|
|
+ <if test="eventNextDayStay != null" >
|
|
|
+ event_next_day_stay,
|
|
|
+ </if>
|
|
|
+ <if test="formCost != null" >
|
|
|
+ form_cost,
|
|
|
+ </if>
|
|
|
+ <if test="formCount != null" >
|
|
|
+ form_count,
|
|
|
+ </if>
|
|
|
+ <if test="play3sRatio != null" >
|
|
|
+ play_3s_ratio,
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ create_time,
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null" >
|
|
|
+ update_time,
|
|
|
+ </if>
|
|
|
+ <if test="channelCode != null" >
|
|
|
+ channel_code,
|
|
|
+ </if>
|
|
|
+ <if test="unitName != null" >
|
|
|
+ unit_name,
|
|
|
+ </if>
|
|
|
+ <if test="campaignName != null" >
|
|
|
+ campaign_name,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
+ <if test="id != null" >
|
|
|
+ #{id,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="accountId != null" >
|
|
|
+ #{accountId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="unitId != null" >
|
|
|
+ #{unitId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="campaignId != null" >
|
|
|
+ #{campaignId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="status != null" >
|
|
|
+ #{status,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="charge != null" >
|
|
|
+ #{charge,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="photoShow != null" >
|
|
|
+ #{photoShow,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="aclick != null" >
|
|
|
+ #{aclick,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="bclick != null" >
|
|
|
+ #{bclick,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="photoShare != null" >
|
|
|
+ #{photoShare,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="photoComment != null" >
|
|
|
+ #{photoComment,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="photoLike != null" >
|
|
|
+ #{photoLike,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="follow != null" >
|
|
|
+ #{follow,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="cancelFollow != null" >
|
|
|
+ #{cancelFollow,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="report != null" >
|
|
|
+ #{report,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="block != null" >
|
|
|
+ #{block,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="negative != null" >
|
|
|
+ #{negative,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="downloadStarted != null" >
|
|
|
+ #{downloadStarted,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="downloadCompleted != null" >
|
|
|
+ #{downloadCompleted,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="activation != null" >
|
|
|
+ #{activation,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="submit != null" >
|
|
|
+ #{submit,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="statDate != null" >
|
|
|
+ #{statDate,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="photoClick != null" >
|
|
|
+ #{photoClick,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="photoClickRatio != null" >
|
|
|
+ #{photoClickRatio,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="actionRatio != null" >
|
|
|
+ #{actionRatio,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="impression1kCost != null" >
|
|
|
+ #{impression1kCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="photoClickCost != null" >
|
|
|
+ #{photoClickCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="actionCost != null" >
|
|
|
+ #{actionCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventPayFirstDay != null" >
|
|
|
+ #{eventPayFirstDay,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="eventPayPurchaseAmountFirstDay != null" >
|
|
|
+ #{eventPayPurchaseAmountFirstDay,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventPayFirstDayRoi != null" >
|
|
|
+ #{eventPayFirstDayRoi,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="eventPay != null" >
|
|
|
+ #{eventPay,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="eventPayPurchaseAmount != null" >
|
|
|
+ #{eventPayPurchaseAmount,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventPayRoi != null" >
|
|
|
+ #{eventPayRoi,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="eventRegister != null" >
|
|
|
+ #{eventRegister,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="eventRegisterCost != null" >
|
|
|
+ #{eventRegisterCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventRegisterRatio != null" >
|
|
|
+ #{eventRegisterRatio,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="eventJinJianApp != null" >
|
|
|
+ #{eventJinJianApp,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="eventJinJianAppCost != null" >
|
|
|
+ #{eventJinJianAppCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantApp != null" >
|
|
|
+ #{eventCreditGrantApp,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantAppCost != null" >
|
|
|
+ #{eventCreditGrantAppCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantAppRatio != null" >
|
|
|
+ #{eventCreditGrantAppRatio,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="eventOrderPaid != null" >
|
|
|
+ #{eventOrderPaid,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="eventOrderPaidPurchaseAmount != null" >
|
|
|
+ #{eventOrderPaidPurchaseAmount,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventJinJianLandingPage != null" >
|
|
|
+ #{eventJinJianLandingPage,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="eventJinJianLandingPageCost != null" >
|
|
|
+ #{eventJinJianLandingPageCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantLandingPage != null" >
|
|
|
+ #{eventCreditGrantLandingPage,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantLandingPageCost != null" >
|
|
|
+ #{eventCreditGrantLandingPageCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventCreditGrantLandingRatio != null" >
|
|
|
+ #{eventCreditGrantLandingRatio,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="eventNextDayStayCost != null" >
|
|
|
+ #{eventNextDayStayCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventNextDayStayRatio != null" >
|
|
|
+ #{eventNextDayStayRatio,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="formActionRatio != null" >
|
|
|
+ #{formActionRatio,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="eventOrderPaidCost != null" >
|
|
|
+ #{eventOrderPaidCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="eventNextDayStay != null" >
|
|
|
+ #{eventNextDayStay,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="formCost != null" >
|
|
|
+ #{formCost,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="formCount != null" >
|
|
|
+ #{formCount,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="play3sRatio != null" >
|
|
|
+ #{play3sRatio,jdbcType=DOUBLE},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null" >
|
|
|
+ #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="channelCode != null" >
|
|
|
+ #{channelCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="unitName != null" >
|
|
|
+ #{unitName,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="campaignName != null" >
|
|
|
+ #{campaignName,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
</mapper>
|