mirror of https://github.com/jeecgboot/jeecg-boot
【issues/8666】升级mybatisPlus后SqlServer分页使用OFFSET ? ROWS FETCH NEXT ? ROWS ONLY,导致online报表报错---
parent
af354f9f5e
commit
6586d3a880
|
@ -145,7 +145,7 @@ public class MybatisPlusSaasConfig {
|
||||||
// 如果是SQL Server则覆盖为2005分页方式
|
// 如果是SQL Server则覆盖为2005分页方式
|
||||||
interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.SQL_SERVER2005));
|
interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.SQL_SERVER2005));
|
||||||
} else {
|
} 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报表报错---
|
//update-end---author:scott ---date::2025-08-02 for:【issues/8666】升级mybatisPlus后SqlServer分页使用OFFSET ? ROWS FETCH NEXT ? ROWS ONLY,导致online报表报错---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue