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}
RIR_ITEMID, RIR_ROLEID, RIR_AUTHROLE, RIR_AUTHTYPE, RIR_AUTHSHAPE
delete from im_role_item_rel
where RIR_ITEMID = #{itemid,jdbcType=VARCHAR}
and RIR_ROLEID = #{roleid,jdbcType=VARCHAR}
delete from im_role_item_rel
insert into im_role_item_rel (RIR_ITEMID, RIR_ROLEID, RIR_AUTHROLE,
RIR_AUTHTYPE, RIR_AUTHSHAPE)
values (#{itemid,jdbcType=VARCHAR}, #{roleid,jdbcType=VARCHAR}, #{authrole,jdbcType=VARCHAR},
#{authtype,jdbcType=VARCHAR}, #{authshape,jdbcType=CHAR})
insert into im_role_item_rel
RIR_ITEMID,
RIR_ROLEID,
RIR_AUTHROLE,
RIR_AUTHTYPE,
RIR_AUTHSHAPE,
#{itemid,jdbcType=VARCHAR},
#{roleid,jdbcType=VARCHAR},
#{authrole,jdbcType=VARCHAR},
#{authtype,jdbcType=VARCHAR},
#{authshape,jdbcType=CHAR},
update im_role_item_rel
RIR_ITEMID = #{record.itemid,jdbcType=VARCHAR},
RIR_ROLEID = #{record.roleid,jdbcType=VARCHAR},
RIR_AUTHROLE = #{record.authrole,jdbcType=VARCHAR},
RIR_AUTHTYPE = #{record.authtype,jdbcType=VARCHAR},
RIR_AUTHSHAPE = #{record.authshape,jdbcType=CHAR},
update im_role_item_rel
set RIR_ITEMID = #{record.itemid,jdbcType=VARCHAR},
RIR_ROLEID = #{record.roleid,jdbcType=VARCHAR},
RIR_AUTHROLE = #{record.authrole,jdbcType=VARCHAR},
RIR_AUTHTYPE = #{record.authtype,jdbcType=VARCHAR},
RIR_AUTHSHAPE = #{record.authshape,jdbcType=CHAR}
update im_role_item_rel
RIR_AUTHROLE = #{authrole,jdbcType=VARCHAR},
RIR_AUTHTYPE = #{authtype,jdbcType=VARCHAR},
RIR_AUTHSHAPE = #{authshape,jdbcType=CHAR},
where RIR_ITEMID = #{itemid,jdbcType=VARCHAR}
and RIR_ROLEID = #{roleid,jdbcType=VARCHAR}
update im_role_item_rel
set RIR_AUTHROLE = #{authrole,jdbcType=VARCHAR},
RIR_AUTHTYPE = #{authtype,jdbcType=VARCHAR},
RIR_AUTHSHAPE = #{authshape,jdbcType=CHAR}
where RIR_ITEMID = #{itemid,jdbcType=VARCHAR}
and RIR_ROLEID = #{roleid,jdbcType=VARCHAR}