id, username, login_time, login_ip, success, other_info
delete from sys_user_login_history
where id = #{id,jdbcType=BIGINT}
insert into sys_user_login_history (id, username, login_time,
login_ip, success, other_info
)
values (#{id,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{loginTime,jdbcType=TIMESTAMP},
#{loginIp,jdbcType=CHAR}, #{success,jdbcType=BIT}, #{otherInfo,jdbcType=VARCHAR}
)
insert into sys_user_login_history
id,
username,
login_time,
login_ip,
success,
other_info,
#{id,jdbcType=BIGINT},
#{username,jdbcType=VARCHAR},
#{loginTime,jdbcType=TIMESTAMP},
#{loginIp,jdbcType=CHAR},
#{success,jdbcType=BIT},
#{otherInfo,jdbcType=VARCHAR},
update sys_user_login_history
username = #{username,jdbcType=VARCHAR},
login_time = #{loginTime,jdbcType=TIMESTAMP},
login_ip = #{loginIp,jdbcType=CHAR},
success = #{success,jdbcType=BIT},
other_info = #{otherInfo,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update sys_user_login_history
set username = #{username,jdbcType=VARCHAR},
login_time = #{loginTime,jdbcType=TIMESTAMP},
login_ip = #{loginIp,jdbcType=CHAR},
success = #{success,jdbcType=BIT},
other_info = #{otherInfo,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}