Update exp to sql

This commit is contained in:
sunkaixuan 2025-06-27 17:21:53 +08:00
parent feb5d298e1
commit ca326fbbb2

View File

@ -292,6 +292,10 @@ namespace SqlSugar
{
isubList.RemoveAll(it => it is SubTake);
}
if (isJoin == false && isSubSubQuery&&this.context.CurrentShortName==null)
{
this.context.CurrentShortName=ExpressionTool.GetParameters(allMethods.FirstOrDefault()).FirstOrDefault().Name;
}
List<string> result = isubList.Select(it =>
{
it.HasWhere = isHasWhere;