mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 12:18:00 +08:00
Update SqlQueryable bug
This commit is contained in:
parent
94ffcf2f2d
commit
29874ce4e2
@ -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