mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update exp to sql
This commit is contained in:
@@ -48,7 +48,7 @@ namespace SqlSugar
|
||||
private void ResloveBoolMethod(ExpressionParameter parameter, Expression item, string asName)
|
||||
{
|
||||
this.Expression = item;
|
||||
if (ExpressionTool.GetMethodName(item) == "Any")
|
||||
if (ExpressionTool.GetMethodName(item) == "Any"&&!ExpressionTool.GetTopLevelMethodCalls(item).Contains("Subqueryable"))
|
||||
{
|
||||
parameter.CommonTempData = GetNewExpressionValue(item);
|
||||
}
|
||||
|
Reference in New Issue
Block a user