nick, avatar, gender, is_used
delete from auto_gen_robot
where nick = #{nick,jdbcType=VARCHAR}
insert into auto_gen_robot (nick, avatar, gender,
is_used)
values (#{nick,jdbcType=VARCHAR}, #{avatar,jdbcType=VARCHAR}, #{gender,jdbcType=TINYINT},
#{isUsed,jdbcType=TINYINT})
insert into auto_gen_robot
nick,
avatar,
gender,
is_used,
#{nick,jdbcType=VARCHAR},
#{avatar,jdbcType=VARCHAR},
#{gender,jdbcType=TINYINT},
#{isUsed,jdbcType=TINYINT},
update auto_gen_robot
avatar = #{avatar,jdbcType=VARCHAR},
gender = #{gender,jdbcType=TINYINT},
is_used = #{isUsed,jdbcType=TINYINT},
where nick = #{nick,jdbcType=VARCHAR}
update auto_gen_robot
set avatar = #{avatar,jdbcType=VARCHAR},
gender = #{gender,jdbcType=TINYINT},
is_used = #{isUsed,jdbcType=TINYINT}
where nick = #{nick,jdbcType=VARCHAR}