mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Update Order By
This commit is contained in:
@@ -977,7 +977,7 @@ namespace SqlSugar
|
|||||||
var result = "";
|
var result = "";
|
||||||
foreach (var item in newExp.Arguments)
|
foreach (var item in newExp.Arguments)
|
||||||
{
|
{
|
||||||
if (item is MemberExpression)
|
if (item is MemberExpression&&type==OrderByType.Asc)
|
||||||
{
|
{
|
||||||
result +=
|
result +=
|
||||||
QueryBuilder.GetExpressionValue(item, isSingle ? ResolveExpressType.FieldSingle : ResolveExpressType.FieldMultiple).GetResultString() + ",";
|
QueryBuilder.GetExpressionValue(item, isSingle ? ResolveExpressType.FieldSingle : ResolveExpressType.FieldMultiple).GetResultString() + ",";
|
||||||
|
Reference in New Issue
Block a user