Browse Source

Update SqlServerQueryBuilder

pull/14/MERGE
sunkaixuan 3 years ago
parent
commit
776dc3dd5d
  1. 5
      Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerQueryBuilder.cs

5
Src/Asp.Net/SqlSugar/Realization/SqlServer/SqlBuilder/SqlServerQueryBuilder.cs

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

Loading…
Cancel
Save