Update Oracle First

This commit is contained in:
sunkaixuan
2023-11-15 13:38:03 +08:00
parent fb6ca9b80a
commit 78da799a2e

View File

@@ -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)
{