/*
* Copyright (c) 2011-2020, baomidou (jobob@qq.com).
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
* <p>
* https://www.apache.org/licenses/LICENSE-2.0
* <p>
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/packagecom.baomidou.mybatisplus.extension.plugins;importcom.baomidou.mybatisplus.annotation.DbType;importcom.baomidou.mybatisplus.core.MybatisDefaultParameterHandler;importcom.baomidou.mybatisplus.core.metadata.IPage;importcom.baomidou.mybatisplus.core.metadata.OrderItem;importcom.baomidou.mybatisplus.core.parser.ISqlParser;importcom.baomidou.mybatisplus.core.parser.SqlInfo;importcom.baomidou.mybatisplus.core.toolkit.CollectionUtils;importcom.baomidou.mybatisplus.core.toolkit.ExceptionUtils;importcom.baomidou.mybatisplus.core.toolkit.PluginUtils;importcom.baomidou.mybatisplus.core.toolkit.StringUtils;importcom.baomidou.mybatisplus.extension.handlers.AbstractSqlParserHandler;importcom.baomidou.mybatisplus.extension.plugins.pagination.DialectFactory;importcom.baomidou.mybatisplus.extension.plugins.pagination.DialectModel;importcom.baomidou.mybatisplus.extension.toolkit.JdbcUtils;importcom.baomidou.mybatisplus.extension.toolkit.SqlParserUtils;importlombok.Setter;importlombok.experimental.Accessors;importnet.sf.jsqlparser.JSQLParserException;importnet.sf.jsqlparser.parser.CCJSqlParserUtil;importnet.sf.jsqlparser.schema.Column;importnet.sf.jsqlparser.statement.select.*;importorg.apache.ibatis.executor.statement.StatementHandler;importorg.apache.ibatis.logging.Log;importorg.apache.ibatis.logging.LogFactory;importorg.apache.ibatis.mapping.*;importorg.apache.ibatis.plugin.*;importorg.apache.ibatis.reflection.MetaObject;importorg.apache.ibatis.reflection.SystemMetaObj