id, uid, charm, admin_id, create_time
insert into users_charm (id, uid, charm,
admin_id, create_time)
values (#{id,jdbcType=INTEGER}, #{uid,jdbcType=INTEGER}, #{charm,jdbcType=INTEGER},
#{adminId,jdbcType=INTEGER}, #{createTime,jdbcType=VARCHAR})
insert into users_charm
id,
uid,
charm,
admin_id,
create_time,
#{id,jdbcType=INTEGER},
#{uid,jdbcType=INTEGER},
#{charm,jdbcType=INTEGER},
#{adminId,jdbcType=INTEGER},
#{createTime,jdbcType=VARCHAR},
update users_charm
uid = #{uid,jdbcType=INTEGER},
charm = #{charm,jdbcType=INTEGER},
admin_id = #{adminId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update users_charm
set uid = #{uid,jdbcType=INTEGER},
charm = #{charm,jdbcType=INTEGER},
admin_id = #{adminId,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
delete from users_charm
where id = #{id,jdbcType=INTEGER}