put_in_date, channel, app, amount_invested, total_download, purchase_download
insert into daily_report_channel_put_in (put_in_date, channel, app,
amount_invested, total_download, purchase_download
)
values (#{putInDate,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{app,jdbcType=VARCHAR},
#{amountInvested,jdbcType=INTEGER}, #{totalDownload,jdbcType=INTEGER}, #{purchaseDownload,jdbcType=INTEGER}
)
insert into daily_report_channel_put_in
put_in_date,
channel,
app,
amount_invested,
total_download,
purchase_download,
#{putInDate,jdbcType=VARCHAR},
#{channel,jdbcType=VARCHAR},
#{app,jdbcType=VARCHAR},
#{amountInvested,jdbcType=INTEGER},
#{totalDownload,jdbcType=INTEGER},
#{purchaseDownload,jdbcType=INTEGER},
update daily_report_channel_put_in
amount_invested = #{amountInvested,jdbcType=INTEGER},
total_download = #{totalDownload,jdbcType=INTEGER},
purchase_download = #{purchaseDownload,jdbcType=INTEGER},
where put_in_date = #{putInDate,jdbcType=VARCHAR}
and channel = #{channel,jdbcType=VARCHAR}
and app = #{app,jdbcType=VARCHAR}
update daily_report_channel_put_in
set amount_invested = #{amountInvested,jdbcType=INTEGER},
total_download = #{totalDownload,jdbcType=INTEGER},
purchase_download = #{purchaseDownload,jdbcType=INTEGER}
where put_in_date = #{putInDate,jdbcType=VARCHAR}
and channel = #{channel,jdbcType=VARCHAR}
and app = #{app,jdbcType=VARCHAR}
delete from daily_report_channel_put_in
where put_in_date = #{putInDate,jdbcType=VARCHAR}
and channel = #{channel,jdbcType=VARCHAR}
and app = #{app,jdbcType=VARCHAR}