and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, role_id, organization_id, is_valid, update_time, update_user_id
delete from re_sys_role_organization
where id = #{id,jdbcType=VARCHAR}
delete from re_sys_role_organization
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}
)
insert into re_sys_role_organization
id,
role_id,
organization_id,
is_valid,
update_time,
update_user_id,
#{id,jdbcType=VARCHAR},
#{roleId,jdbcType=VARCHAR},
#{organizationId,jdbcType=VARCHAR},
#{isValid,jdbcType=TINYINT},
#{updateTime,jdbcType=TIMESTAMP},
#{updateUserId,jdbcType=VARCHAR},
update re_sys_role_organization
id = #{record.id,jdbcType=VARCHAR},
role_id = #{record.roleId,jdbcType=VARCHAR},
organization_id = #{record.organizationId,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=TINYINT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update_user_id = #{record.updateUserId,jdbcType=VARCHAR},
update re_sys_role_organization
set id = #{record.id,jdbcType=VARCHAR},
role_id = #{record.roleId,jdbcType=VARCHAR},
organization_id = #{record.organizationId,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=TINYINT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update_user_id = #{record.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}
update re_sys_role_organization
set 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}