Browse Source

Update exp to sql

pull/12/head
sunkaixuna 3 years ago
parent
commit
56ad3ecf50
  1. 2
      Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MethodCallExpressionResolve.cs

2
Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MethodCallExpressionResolve.cs

@ -1027,7 +1027,7 @@ namespace SqlSugar
};
foreach (var r in strings)
{
if (r.Substring(0, 1) == "@")
if (r!=""&&r.Substring(0, 1) == "@")
{
joinStringParameter.Args.Add(new MethodCallExpressionArgs()
{

Loading…
Cancel
Save