mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Update Join.OrderByPropertyName
This commit is contained in:
@@ -1088,6 +1088,11 @@ namespace SqlSugar
|
||||
}
|
||||
return this;
|
||||
}
|
||||
if (this.QueryBuilder.IsSingle() == false && orderPropertyName.Contains("."))
|
||||
{
|
||||
orderPropertyNameByJoin(orderPropertyName, orderByType);
|
||||
return this;
|
||||
}
|
||||
if (this.Context.EntityMaintenance.GetEntityInfoWithAttr(typeof(T)).Columns.Any(it =>
|
||||
it.DbColumnName?.EqualCase(orderPropertyName)==true
|
||||
|| it.PropertyName?.EqualCase(orderPropertyName)==true))
|
||||
|
Reference in New Issue
Block a user