mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update Oracle PartitionBy Page bug
This commit is contained in:
parent
20271e2ddd
commit
2952c7765d
@ -47,7 +47,7 @@ namespace SqlSugar
|
||||
{
|
||||
externalOrderBy = " ORDER BY "+ this.Builder.SqlDateNow + " ";
|
||||
}
|
||||
result = string.Format("SELECT *,ROW_NUMBER() OVER({0}) AS RowIndex2 FROM ({1}) ExternalTable ", GetExternalOrderBy(externalOrderBy), result);
|
||||
result = string.Format("SELECT ExternalTable.*,ROW_NUMBER() OVER({0}) AS RowIndex2 FROM ({1}) ExternalTable ", GetExternalOrderBy(externalOrderBy), result);
|
||||
result = ToPageSql2(result, ExternalPageIndex, ExternalPageSize, true);
|
||||
}
|
||||
this.OrderByValue = oldOrderBy;
|
||||
|
Loading…
Reference in New Issue
Block a user