id, role_id, organization_id, is_valid, update_time, update_user_id
and ID = #{id}
and role_id = #{roleId,jdbcType=VARCHAR}
and organization_id = #{organizationId,jdbcType=VARCHAR}
and is_valid = #{isValid,jdbcType=TINYINT}
and update_time = #{updateTime,jdbcType=TIMESTAMP}
and update_user_id = #{updateUserId,jdbcType=VARCHAR}
order by ${sorting}
limit #{offset}, #{limit}
delete from
re_sys_role_organization
where ID = #{id}
update re_sys_role_organization
set is_valid=0
insert into re_sys_role_organization (id, role_id, organization_id,
is_valid, update_time, update_user_id
)
values (#{id,jdbcType=VARCHAR}, #{roleId,jdbcType=VARCHAR}, #{organizationId,jdbcType=VARCHAR},
#{isValid,jdbcType=TINYINT}, #{updateTime,jdbcType=TIMESTAMP}, #{updateUserId,jdbcType=VARCHAR}
)
update re_sys_role_organization
role_id = #{roleId,jdbcType=VARCHAR},
organization_id = #{organizationId,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=TINYINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_user_id = #{updateUserId,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
delete from
re_sys_role_organization
where
'${id}'