id, platform_id, refresh_token, admin_id, createtime, updatetime
delete from ptoken
where id = #{id,jdbcType=INTEGER}
insert into ptoken (platform_id, refresh_token, admin_id,
createtime, updatetime)
values (#{platformId,jdbcType=INTEGER}, #{refreshToken,jdbcType=VARCHAR}, #{adminId,jdbcType=VARCHAR},
#{createtime,jdbcType=INTEGER}, #{updatetime,jdbcType=INTEGER})
insert into ptoken
platform_id,
refresh_token,
admin_id,
createtime,
updatetime,
#{platformId,jdbcType=INTEGER},
#{refreshToken,jdbcType=VARCHAR},
#{adminId,jdbcType=VARCHAR},
#{createtime,jdbcType=INTEGER},
#{updatetime,jdbcType=INTEGER},
update ptoken
platform_id = #{platformId,jdbcType=INTEGER},
refresh_token = #{refreshToken,jdbcType=VARCHAR},
admin_id = #{adminId,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=INTEGER},
updatetime = #{updatetime,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update ptoken
set platform_id = #{platformId,jdbcType=INTEGER},
refresh_token = #{refreshToken,jdbcType=VARCHAR},
admin_id = #{adminId,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=INTEGER},
updatetime = #{updatetime,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}