Browse Source

Update exp to sql

pull/18/head
sunkaixuan 3 years ago
parent
commit
b8ffa5e852
  1. 9
      Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/BaseResolve.cs

9
Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/BaseResolve.cs

@ -612,7 +612,14 @@ namespace SqlSugar
{
first = first.Split('(').Last().Trim();
}
result.Add(first,last);
if (!result.ContainsKey(first))
{
result.Add(first, last);
}
else
{
Check.ExceptionEasy("Expression parsing error. Same Key exists at multiple levels", "表达式解析出错,多层级存在相同的Key ");
}
}
return result; ;
}

Loading…
Cancel
Save