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}
role_id, role_name, parent_id, remark, del_flag, org_id
delete from role_info
where role_id = #{roleId,jdbcType=INTEGER}
delete from role_info
insert into role_info (role_id, role_name, parent_id,
remark, del_flag, org_id
)
values (#{roleId,jdbcType=INTEGER}, #{roleName,jdbcType=VARCHAR}, #{parentId,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR}, #{delFlag,jdbcType=INTEGER}, #{orgId,jdbcType=INTEGER}
)
insert into role_info
role_id,
role_name,
parent_id,
remark,
del_flag,
org_id,
#{roleId,jdbcType=INTEGER},
#{roleName,jdbcType=VARCHAR},
#{parentId,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{delFlag,jdbcType=INTEGER},
#{orgId,jdbcType=INTEGER},
update role_info
role_id = #{record.roleId,jdbcType=INTEGER},
role_name = #{record.roleName,jdbcType=VARCHAR},
parent_id = #{record.parentId,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
del_flag = #{record.delFlag,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=INTEGER},
update role_info
set role_id = #{record.roleId,jdbcType=INTEGER},
role_name = #{record.roleName,jdbcType=VARCHAR},
parent_id = #{record.parentId,jdbcType=INTEGER},
remark = #{record.remark,jdbcType=VARCHAR},
del_flag = #{record.delFlag,jdbcType=INTEGER},
org_id = #{record.orgId,jdbcType=INTEGER}
update role_info
role_name = #{roleName,jdbcType=VARCHAR},
parent_id = #{parentId,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=INTEGER},
where role_id = #{roleId,jdbcType=INTEGER}
update role_info
set role_name = #{roleName,jdbcType=VARCHAR},
parent_id = #{parentId,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
del_flag = #{delFlag,jdbcType=INTEGER},
org_id = #{orgId,jdbcType=INTEGER}
where role_id = #{roleId,jdbcType=INTEGER}