diff --git a/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/OneToOneNavgateExpressionN.cs b/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/OneToOneNavgateExpressionN.cs index 7634ce1da..7840a2a99 100644 --- a/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/OneToOneNavgateExpressionN.cs +++ b/Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/OneToOneNavgateExpressionN.cs @@ -34,12 +34,6 @@ namespace SqlSugar var childExpression = memberExp.Expression; result = ValidateIsJoinMember(result, memberExp, childExpression); } - else if (exp is MethodCallExpression) - { - var memberExp = exp as MemberExpression; - var childExpression = memberExp.Expression; - result = ValidateIsJoinAny(result, memberExp, childExpression); - } return result; } public MapperSql GetMemberSql()