id,
last_history_id,
client_id,
amount,
money,
dt,
open_dt_last,
close_dt_last,
this_amount_last,
this_money_last,
this_time_last,
rtu_dt_last
delete
from rm_client_amount_day_last
where id = #{id,jdbcType=BIGINT}
insert into rm_client_amount_day_last (id, last_history_id, client_id,
amount, money, dt, open_dt_last,
close_dt_last, this_amount_last, this_money_last,
this_time_last, rtu_dt_last)
values (#{id,jdbcType=BIGINT}, #{lastHistoryId,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT},
#{amount,jdbcType=FLOAT}, #{money,jdbcType=FLOAT}, #{dt,jdbcType=DATE},
#{openDtLast,jdbcType=TIMESTAMP},
#{closeDtLast,jdbcType=TIMESTAMP}, #{thisAmountLast,jdbcType=FLOAT}, #{thisMoneyLast,jdbcType=FLOAT},
#{thisTimeLast,jdbcType=INTEGER}, #{rtuDtLast,jdbcType=TIMESTAMP})
insert into rm_client_amount_day_last
id,
last_history_id,
client_id,
amount,
money,
dt,
open_dt_last,
close_dt_last,
this_amount_last,
this_money_last,
this_time_last,
rtu_dt_last,
#{id,jdbcType=BIGINT},
#{lastHistoryId,jdbcType=BIGINT},
#{clientId,jdbcType=BIGINT},
#{amount,jdbcType=FLOAT},
#{money,jdbcType=FLOAT},
#{dt,jdbcType=DATE},
#{openDtLast,jdbcType=TIMESTAMP},
#{closeDtLast,jdbcType=TIMESTAMP},
#{thisAmountLast,jdbcType=FLOAT},
#{thisMoneyLast,jdbcType=FLOAT},
#{thisTimeLast,jdbcType=INTEGER},
#{rtuDtLast,jdbcType=TIMESTAMP},
update rm_client_amount_day_last
last_history_id = #{lastHistoryId,jdbcType=BIGINT},
client_id = #{clientId,jdbcType=BIGINT},
amount = #{amount,jdbcType=FLOAT},
money = #{money,jdbcType=FLOAT},
dt = #{dt,jdbcType=DATE},
open_dt_last = #{openDtLast,jdbcType=TIMESTAMP},
close_dt_last = #{closeDtLast,jdbcType=TIMESTAMP},
this_amount_last = #{thisAmountLast,jdbcType=FLOAT},
this_money_last = #{thisMoneyLast,jdbcType=FLOAT},
this_time_last = #{thisTimeLast,jdbcType=INTEGER},
rtu_dt_last = #{rtuDtLast,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update rm_client_amount_day_last
set last_history_id = #{lastHistoryId,jdbcType=BIGINT},
client_id = #{clientId,jdbcType=BIGINT},
amount = #{amount,jdbcType=FLOAT},
money = #{money,jdbcType=FLOAT},
dt = #{dt,jdbcType=DATE},
open_dt_last = #{openDtLast,jdbcType=TIMESTAMP},
close_dt_last = #{closeDtLast,jdbcType=TIMESTAMP},
this_amount_last = #{thisAmountLast,jdbcType=FLOAT},
this_money_last = #{thisMoneyLast,jdbcType=FLOAT},
this_time_last = #{thisTimeLast,jdbcType=INTEGER},
rtu_dt_last = #{rtuDtLast,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}