Oracle limitN wrapper条件修正

This commit is contained in:
coolbreeze 2024-01-18 13:59:41 +08:00
parent 761ab8a0e5
commit 2655110865

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: