mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 12:18:00 +08:00
Synchronous generation
This commit is contained in:
parent
0cdd5ada25
commit
d31f248256
@ -686,7 +686,7 @@ namespace SqlSugar
|
||||
{
|
||||
return result;
|
||||
}
|
||||
if (this.IsSqlQuery&&this.OldSql.HasValue() && (Skip == null && Take == null) && (this.WhereInfos == null || this.WhereInfos.Count == 0))
|
||||
if (!string.IsNullOrEmpty(OrderByValue)&&this.IsSqlQuery&&this.OldSql.HasValue() && (Skip == null && Take == null) && (this.WhereInfos == null || this.WhereInfos.Count == 0))
|
||||
{
|
||||
return this.OldSql;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user