delete from sys_users_roles where user_id = #{userId,jdbcType=BIGINT} and role_id = #{roleId,jdbcType=BIGINT} insert into sys_users_roles (user_id, role_id) values (#{userId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT}) insert into sys_users_roles user_id, role_id, #{userId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT},