mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
This commit is contained in:
parent
034501d78d
commit
8e5df54396
@ -278,7 +278,7 @@ namespace SqlSugar
|
||||
|
||||
protected string GetNewExpressionValue(Expression item)
|
||||
{
|
||||
var newContext = this.Context.GetCopyContext();
|
||||
var newContext = this.Context.GetCopyContextWithMapping();
|
||||
newContext.Resolve(item, this.Context.IsJoin ? ResolveExpressType.WhereMultiple : ResolveExpressType.WhereSingle);
|
||||
this.Context.Index = newContext.Index;
|
||||
this.Context.ParameterIndex = newContext.ParameterIndex;
|
||||
|
Loading…
Reference in New Issue
Block a user