id, user_id, num, status, create_time, update_time
delete from tb_integral
where id = #{id,jdbcType=INTEGER}
insert into tb_integral (id, user_id, num,
status, create_time, update_time
)
values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=VARCHAR}, #{num,jdbcType=DECIMAL},
#{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
insert into tb_integral
id,
user_id,
num,
status,
create_time,
update_time,
#{id,jdbcType=INTEGER},
#{userId,jdbcType=VARCHAR},
#{num,jdbcType=DECIMAL},
#{status,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update tb_integral
user_id = #{userId,jdbcType=VARCHAR},
num = #{num,jdbcType=DECIMAL},
status = #{status,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update tb_integral
set user_id = #{userId,jdbcType=VARCHAR},
num = #{num,jdbcType=DECIMAL},
status = #{status,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}