id, client_id, card_id, `year`, amount, gift, times
delete from st_recharge_ic_year
where id = #{id,jdbcType=BIGINT}
insert into st_recharge_ic_year (id, client_id, card_id,
`year`, amount, gift, times
)
values (#{id,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, #{cardId,jdbcType=BIGINT},
#{year,jdbcType=INTEGER}, #{amount,jdbcType=FLOAT}, #{gift,jdbcType=FLOAT}, #{times,jdbcType=INTEGER}
)
insert into st_recharge_ic_year
id,
client_id,
card_id,
`year`,
amount,
gift,
times,
#{id,jdbcType=BIGINT},
#{clientId,jdbcType=BIGINT},
#{cardId,jdbcType=BIGINT},
#{year,jdbcType=INTEGER},
#{amount,jdbcType=FLOAT},
#{gift,jdbcType=FLOAT},
#{times,jdbcType=INTEGER},
update st_recharge_ic_year
client_id = #{clientId,jdbcType=BIGINT},
card_id = #{cardId,jdbcType=BIGINT},
`year` = #{year,jdbcType=INTEGER},
amount = #{amount,jdbcType=FLOAT},
gift = #{gift,jdbcType=FLOAT},
times = #{times,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update st_recharge_ic_year
set client_id = #{clientId,jdbcType=BIGINT},
card_id = #{cardId,jdbcType=BIGINT},
`year` = #{year,jdbcType=INTEGER},
amount = #{amount,jdbcType=FLOAT},
gift = #{gift,jdbcType=FLOAT},
times = #{times,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}