Update SqlServerQueryBuilder

This commit is contained in:
sunkaixuan
2022-04-07 11:32:00 +08:00
parent 0715cfba40
commit 776dc3dd5d

View File

@@ -81,6 +81,11 @@ namespace SqlSugar
if (this.OldSql.HasValue())
this.OldSql += " ORDER BY GETDATE() ";
}
else
{
if (this.OldSql.HasValue())
this.OldSql += (" "+this.GetOrderByString);
}
result += this.Offset;
if (this.OldSql.HasValue())