private Object makeNewParametersFromPrimitive(Object parameterObject, List<ParameterMapping> parameters) {
        Map<String, Object> params = new LinkedHashMap<>();

        // find the param not tenant
        int idx = 0;
        if (KEY_TENANT.equals(parameters.get(0).getProperty())) {
            idx = 1;
        }
        params.put(parameters.get(idx).getProperty(), parameterObject);
        params.put(KEY_TENANT, getTenant());
        return params;
    }
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