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, user_id, role_id, is_valid, update_time, update_user_id
delete from re_sys_user_role
where id = #{id,jdbcType=VARCHAR}
delete from re_sys_user_role
insert into re_sys_user_role (id, user_id, role_id,
is_valid, update_time, update_user_id
)
values (#{id,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{roleId,jdbcType=VARCHAR},
#{isValid,jdbcType=TINYINT}, #{updateTime,jdbcType=TIMESTAMP}, #{updateUserId,jdbcType=VARCHAR}
)
insert into re_sys_user_role
id,
user_id,
role_id,
is_valid,
update_time,
update_user_id,
#{id,jdbcType=VARCHAR},
#{userId,jdbcType=VARCHAR},
#{roleId,jdbcType=VARCHAR},
#{isValid,jdbcType=TINYINT},
#{updateTime,jdbcType=TIMESTAMP},
#{updateUserId,jdbcType=VARCHAR},
update re_sys_user_role
id = #{record.id,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
role_id = #{record.roleId,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=TINYINT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update_user_id = #{record.updateUserId,jdbcType=VARCHAR},
update re_sys_user_role
set id = #{record.id,jdbcType=VARCHAR},
user_id = #{record.userId,jdbcType=VARCHAR},
role_id = #{record.roleId,jdbcType=VARCHAR},
is_valid = #{record.isValid,jdbcType=TINYINT},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update_user_id = #{record.updateUserId,jdbcType=VARCHAR}
update re_sys_user_role
user_id = #{userId,jdbcType=VARCHAR},
role_id = #{roleId,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_user_role
set user_id = #{userId,jdbcType=VARCHAR},
role_id = #{roleId,jdbcType=VARCHAR},
is_valid = #{isValid,jdbcType=TINYINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_user_id = #{updateUserId,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}