@SuppressWarnings("unchecked")
    private Object makeNewParameters(Object parameterObject, List<ParameterMapping> parameters) {
        // only the single param query has no property name, find it in parameters.
        if (isPrimitiveOrWrapper(parameterObject) && parameters.size() == 2) {
            return makeNewParametersFromPrimitive(parameterObject, parameters);
        } else if (parameterObject instanceof MapperMethod.ParamMap) {
            return makeNewParametersFromMap((MapperMethod.ParamMap<String>) parameterObject);
        } else {
            return makeNewParametersFromEntity(parameterObject);
        }
    }
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