mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update OrderBy bug
This commit is contained in:
parent
54293fb6f6
commit
9efde36f3b
@ -1196,6 +1196,11 @@ namespace SqlSugar
|
||||
result +=
|
||||
QueryBuilder.GetExpressionValue(item, isSingle ? ResolveExpressType.FieldSingle : ResolveExpressType.FieldMultiple).GetResultString() + ",";
|
||||
}
|
||||
else if (item is MemberExpression && type == OrderByType.Desc)
|
||||
{
|
||||
result +=
|
||||
QueryBuilder.GetExpressionValue(item, isSingle ? ResolveExpressType.FieldSingle : ResolveExpressType.FieldMultiple).GetResultString() + " Desc,";
|
||||
}
|
||||
else if (type == OrderByType.Desc)
|
||||
{
|
||||
result +=
|
||||
|
Loading…
Reference in New Issue
Block a user