mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 09:08:24 +08:00
fix: 多出一个空格问题。
This commit is contained in:
parent
31ea798ebd
commit
bff5429707
@ -131,7 +131,7 @@ public interface LimitOffsetProcessor {
|
||||
}
|
||||
StringBuilder newSql = new StringBuilder("SELECT * FROM (SELECT TEMP_DATAS.*, ROWNUM RN FROM (");
|
||||
newSql.append(sql);
|
||||
newSql.append(") TEMP_DATAS WHERE ROWNUM <= ").append(limitOffset + limitRows).append(" ) WHERE RN > ").append(limitOffset);
|
||||
newSql.append(") TEMP_DATAS WHERE ROWNUM <= ").append(limitOffset + limitRows).append(") WHERE RN > ").append(limitOffset);
|
||||
return newSql;
|
||||
}
|
||||
return sql;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user