From 9dcd5fb4c75ea5e4a4b2368a5cb270943722a736 Mon Sep 17 00:00:00 2001 From: "chen.ma" Date: Wed, 7 Jul 2021 18:47:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Mybatis=20Plus=20?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E7=BB=84=E4=BB=B6=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/dynamic/threadpool/config/config/MybatisPlusConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/main/java/io/dynamic/threadpool/config/config/MybatisPlusConfig.java b/config/src/main/java/io/dynamic/threadpool/config/config/MybatisPlusConfig.java index c4d8bcc5..360ef290 100644 --- a/config/src/main/java/io/dynamic/threadpool/config/config/MybatisPlusConfig.java +++ b/config/src/main/java/io/dynamic/threadpool/config/config/MybatisPlusConfig.java @@ -18,7 +18,7 @@ public class MybatisPlusConfig { @Bean public MybatisPlusInterceptor mybatisPlusInterceptor() { MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor(); - interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.H2)); + interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL)); return interceptor; }