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

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

public interface OrderDao {


    @SqlUpdate("insert into appsflyer_pay_record (region, did, uid,platform, game_id, media_source, campaign_id, ad_set_id,ad_id, " +
            " pay_time, money, currency, order_no, reg_time, activation_time, time_zone ,channel,data_type)" +
            " values(:region, :did, :uid, :platform, :game_id, :media_source, :campaign_id, :ad_set_id , :ad_id," +
            " :pay_time, :revenue,:currency,:orderno,:reg_time,:activation_time,:time_zone,:channel,:data_type)")
    void insertOrder(@BindBean OrderData orderData);

//    @SqlUpdate("insert into appsflyer_order_accumulative" +
//            " (`ds`,`region`, `platform`, `game_id`, `media_source`, `campaign_id` ,`ad_set_id`,`ad_id`,`currency`,`%s`" +
//            " values()")
//    void insertLtv(@BindBean OrderData orderData, int pay_user);

}
