id, account_id, staff_id, client_type, token, ip, status, create_time, update_time
delete from tb_token
where id = #{id,jdbcType=INTEGER}
insert into tb_token (id, account_id, staff_id,
client_type, token, ip,
status, create_time, update_time
)
values (#{id,jdbcType=INTEGER}, #{accountId,jdbcType=INTEGER}, #{staffId,jdbcType=INTEGER},
#{clientType,jdbcType=VARCHAR}, #{token,jdbcType=VARCHAR}, #{ip,jdbcType=VARCHAR},
#{status,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
insert into tb_token
id,
account_id,
staff_id,
client_type,
token,
ip,
status,
create_time,
update_time,
#{id,jdbcType=INTEGER},
#{accountId,jdbcType=INTEGER},
#{staffId,jdbcType=INTEGER},
#{clientType,jdbcType=VARCHAR},
#{token,jdbcType=VARCHAR},
#{ip,jdbcType=VARCHAR},
#{status,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update tb_token
account_id = #{accountId,jdbcType=INTEGER},
staff_id = #{staffId,jdbcType=INTEGER},
client_type = #{clientType,jdbcType=VARCHAR},
token = #{token,jdbcType=VARCHAR},
ip = #{ip,jdbcType=VARCHAR},
status = #{status,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update tb_token
set account_id = #{accountId,jdbcType=INTEGER},
staff_id = #{staffId,jdbcType=INTEGER},
client_type = #{clientType,jdbcType=VARCHAR},
token = #{token,jdbcType=VARCHAR},
ip = #{ip,jdbcType=VARCHAR},
status = #{status,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}