package com.fshark.overseas.advert.entity.dao;

import com.fshark.overseas.advert.modle.metrics.ActivationMetrics;
import org.jdbi.v3.sqlobject.customizer.Bind;
import org.jdbi.v3.sqlobject.customizer.BindBean;
import org.jdbi.v3.sqlobject.statement.SqlUpdate;

public interface MetricsDetailDao {


    @SqlUpdate("insert into appsflyer_metrics_detail" +
            " (`uid`,`data_date`,`data_hour`,`time_zone`,`region`, `platform`, `game_id`, `media_source`, `campaign_id` ,`ad_set_id`,`ad_id`,`channel`,`data_type`,`metric_name`,`metric_value`)" +
            " values(:uid,:data_date,:data_hour,:time_zone,:region,:platform,:game_id,:media_source,:campaign_id,:ad_set_id,:ad_id,:channel,:data_type,:column,'1')")
    void insertMetricDetail(@BindBean ActivationMetrics activationMetrics, @Bind("column") String column);


}
