mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update Oracle First
This commit is contained in:
@@ -90,6 +90,7 @@ namespace SqlSugar
|
||||
if (this.GetGroupByString==null&&this.Take == 1 && this.Skip == 0&&oldOrderBy== "ORDER BY sysdate ")
|
||||
{
|
||||
result = $" {sql.ToString()} {(this.WhereInfos.Any()?"AND":"WHERE")} ROWNUM = 1 ";
|
||||
result = result.Replace(rowNumberString, " ");
|
||||
}
|
||||
if (ExternalPageIndex > 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user