private boolean isInlongService() {
        UserInfo userInfo = LoginUserUtils.getLoginUser();
        if (userInfo == null) {
            throw new BusinessException("Current user is null, please login first");
        }
        if (CollectionUtils.isEmpty(userInfo.getRoles())) {
            return false;
        }
        return userInfo.getRoles().contains(INLONG_SERVICE);
    }
This interceptor intercept those queries annotated by {@link MultiTenantQuery}.

<p>The main idea of MultiTenantInterceptor is that developer define sql template
support multiple tenant in mapper.xml, but no need to pass the tenant explicitly in mapper.java.</p>

<p>MultiTenantInterceptor will insert <strong>tenant</strong> into the parameter maps in
{@link Executor} and {@link ParameterHandler} stages.</p>
inlong-manager/manager-dao/src/main/java/org/apache/inlong/manager/dao/interceptor/MultiTenantInterceptor.java