This commit is contained in:
sunkaixuna
2021-07-04 01:24:18 +08:00
parent 470ef9a5ab
commit e8243f4229

View File

@@ -50,6 +50,10 @@ namespace SqlSugar
this.OrderByValue = oldOrderBy;
if (!string.IsNullOrEmpty(this.Offset))
{
if (this.OrderByValue.IsNullOrEmpty())
{
result += " ORDER BY getdate() ";
}
result += this.Offset;
}
return result;