Update exp to sql

This commit is contained in:
sunkaixuan
2022-08-02 17:29:20 +08:00
parent 93207f038f
commit 9faf62c590

View File

@@ -460,17 +460,8 @@ namespace SqlSugar
CallContextThread<Dictionary<string, string>>.SetData("Exp_Select_Mapping_Key", mappingKeys);
CallContextAsync<Dictionary<string, string>>.SetData("Exp_Select_Mapping_Key", mappingKeys);
this.Expression = item;
if (item is MemberInitExpression)
{
}
else if (item is NewExpression)
{
}
else
{
asName = GetAsNameResolveAnObject(parameter, item, asName, isSameType);
}
}
else if (item.Type == UtilConstants.BoolType && item is MethodCallExpression && IsNotCaseExpression(item))
{
this.Expression = item;