Browse Source

Synchronization code

pull/33/head
sunkaixuan 2 years ago
parent
commit
40d82baa4e
  1. 2
      Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/BaseResolve_Item.cs

2
Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/BaseResolve_Item.cs

@ -48,7 +48,7 @@ namespace SqlSugar
private void ResloveBoolMethod(ExpressionParameter parameter, Expression item, string asName) private void ResloveBoolMethod(ExpressionParameter parameter, Expression item, string asName)
{ {
this.Expression = item; this.Expression = item;
if (ExpressionTool.GetMethodName(item) == "Any") if (ExpressionTool.GetMethodName(item) == "Any"&&!ExpressionTool.GetTopLevelMethodCalls(item).Contains("Subqueryable"))
{ {
parameter.CommonTempData = GetNewExpressionValue(item); parameter.CommonTempData = GetNewExpressionValue(item);
} }

Loading…
Cancel
Save