!843 Oracle limitN wrapper条件修正

Merge pull request !843 from Cool_Breeze/master
This commit is contained in:
芋道源码 2024-01-20 01:25:35 +00:00 committed by Gitee
commit 9572fef995
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -151,7 +151,7 @@ public class QueryWrapperX<T> extends QueryWrapper<T> {
switch (SqlConstants.DB_TYPE) {
case ORACLE:
case ORACLE_12C:
super.eq("ROWNUM", n);
super.le("ROWNUM", n);
break;
case SQL_SERVER:
case SQL_SERVER2005: