From 6586d3a880fece2b29ccf0f060068feb5020f11f Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Sat, 2 Aug 2025 19:45:36 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90issues/8666=E3=80=91=E5=8D=87=E7=BA=A7?= =?UTF-8?q?mybatisPlus=E5=90=8ESqlServer=E5=88=86=E9=A1=B5=E4=BD=BF?= =?UTF-8?q?=E7=94=A8OFFSET=20=EF=BC=9F=20ROWS=20FETCH=20NEXT=20=EF=BC=9F?= =?UTF-8?q?=20ROWS=20ONLY=EF=BC=8C=E5=AF=BC=E8=87=B4online=E6=8A=A5?= =?UTF-8?q?=E8=A1=A8=E6=8A=A5=E9=94=99---?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/jeecg/config/mybatis/MybatisPlusSaasConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/MybatisPlusSaasConfig.java b/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/MybatisPlusSaasConfig.java index f876b1e4b..ec51cbf59 100644 --- a/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/MybatisPlusSaasConfig.java +++ b/jeecg-boot/jeecg-boot-base-core/src/main/java/org/jeecg/config/mybatis/MybatisPlusSaasConfig.java @@ -145,7 +145,7 @@ public class MybatisPlusSaasConfig { // 如果是SQL Server则覆盖为2005分页方式 interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.SQL_SERVER2005)); } else { - interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.SQL_SERVER2005)); + interceptor.addInnerInterceptor(new PaginationInnerInterceptor()); } //update-end---author:scott ---date::2025-08-02 for:【issues/8666】升级mybatisPlus后SqlServer分页使用OFFSET ? ROWS FETCH NEXT ? ROWS ONLY,导致online报表报错---