mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-26 18:59:17 +08:00
Synchronization code
This commit is contained in:
@@ -99,7 +99,14 @@ namespace SqlSugar
|
||||
methodParamter
|
||||
}
|
||||
});
|
||||
this.Context.Result.Append(result);
|
||||
if (nodeType == ExpressionType.Not&& memberExpression.Member.Name=="HasValue")
|
||||
{
|
||||
this.Context.Result.Append("NOT" + result );
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Context.Result.Append(result);
|
||||
}
|
||||
parameter.CommonTempData = null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,6 +73,7 @@ namespace SqlSugar
|
||||
}
|
||||
var argLambda = argExp as LambdaExpression;
|
||||
var copyContext = this.Context.GetCopyContextWithMapping();
|
||||
copyContext.IsSingle = false;
|
||||
copyContext.Resolve(argLambda, ResolveExpressType.SelectMultiple);
|
||||
var select= copyContext.Result.GetString();
|
||||
this.Context.Parameters.AddRange(copyContext.Parameters);
|
||||
@@ -174,6 +175,7 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
var copyContext = this.Context.GetCopyContextWithMapping();
|
||||
copyContext.IsSingle = false;
|
||||
copyContext.Resolve(bodyExp, ResolveExpressType.SelectMultiple);
|
||||
var select = copyContext.Result.GetString();
|
||||
if (dic.Count > 0 && appendColumns.Count == 0)
|
||||
|
||||
Reference in New Issue
Block a user