diff --git a/src/main/java/neatlogic/framework/sqlrunner/SqlRunner.java b/src/main/java/neatlogic/framework/sqlrunner/SqlRunner.java index b558858e70f616f6b9610029883e04ebeac05d62..697a543dd0df2bb0f3077daed49e9a0a7f90c4d1 100644 --- a/src/main/java/neatlogic/framework/sqlrunner/SqlRunner.java +++ b/src/main/java/neatlogic/framework/sqlrunner/SqlRunner.java @@ -16,10 +16,7 @@ along with this program. If not, see .*/ package neatlogic.framework.sqlrunner; import neatlogic.framework.common.config.Config; -import neatlogic.framework.dao.plugin.LimitInterceptor; -import neatlogic.framework.dao.plugin.PageInterceptor; -import neatlogic.framework.dao.plugin.PageRowBounds; -import neatlogic.framework.dao.plugin.SqlCostInterceptor; +import neatlogic.framework.dao.plugin.*; import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; import org.apache.ibatis.builder.xml.XMLMapperBuilder; @@ -78,6 +75,7 @@ public class SqlRunner { } Configuration configuration = new Configuration(); + configuration.addInterceptor(new DataSchemaInterceptor()); configuration.addInterceptor(new SqlCostInterceptor()); configuration.addInterceptor(new LimitInterceptor()); configuration.addInterceptor(new PageInterceptor());