mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
-
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user