mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-29 01:47:06 +08:00
Update exp to sql
This commit is contained in:
parent
a852a7a7c6
commit
b87907c581
@ -232,6 +232,10 @@ namespace SqlSugar
|
||||
{
|
||||
resolveExpressType = ResolveExpressType.WhereMultiple;
|
||||
}
|
||||
if (this.Context.Expression!=null&&this.Context.SingleTableNameSubqueryShortName.IsNullOrEmpty())
|
||||
{
|
||||
this.Context.SingleTableNameSubqueryShortName = (this.Context.Expression as LambdaExpression)?.Parameters?.FirstOrDefault()?.Name;
|
||||
}
|
||||
}
|
||||
newContext.Resolve(item, resolveExpressType);
|
||||
this.Context.Index = newContext.Index;
|
||||
|
Loading…
Reference in New Issue
Block a user