id, org_id, function_item_id, is_valid, update_time, update_user_id
and ID = #{id}
and org_id = #{orgId,jdbcType=VARCHAR}
and function_item_id = #{functionItemId,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_org_functionitem
where ID = #{id}
update re_sys_org_functionitem
set is_valid=0
insert into re_sys_org_functionitem (id, org_id, function_item_id,
privilege, is_valid, update_time,
update_user_id)
values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{functionItemId,jdbcType=VARCHAR},
#{privilege,jdbcType=BIGINT}, #{isValid,jdbcType=TINYINT}, #{updateTime,jdbcType=TIMESTAMP},
#{updateUserId,jdbcType=VARCHAR})
update re_sys_org_functionitem
org_id = #{orgId,jdbcType=VARCHAR},
function_item_id = #{functionItemId,jdbcType=VARCHAR},
privilege = #{privilege,jdbcType=BIGINT},
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_org_functionitem
where
'${id}'