Browse Source

Synchronization code

pull/29/head
sunkaixuan 2 years ago
parent
commit
b0e7123156
  1. 2
      Src/Asp.NetCore2/SqlSugar/Abstract/SqlBuilderProvider/SqlBuilderProvider.cs
  2. 4
      Src/Asp.NetCore2/SqlSugar/Utilities/UtilMethods.cs

2
Src/Asp.NetCore2/SqlSugar/Abstract/SqlBuilderProvider/SqlBuilderProvider.cs

@ -139,7 +139,7 @@ namespace SqlSugar
mainIndex++;
continue;
}
else if (item.FieldName == $"[value=sql{UtilConstants.ReplaceKey}]")
else if (item.FieldName == UtilMethods.FiledNameSql())
{
builder.Append(item.FieldValue);
continue;

4
Src/Asp.NetCore2/SqlSugar/Utilities/UtilMethods.cs

@ -1054,5 +1054,9 @@ namespace SqlSugar
}
}
public static string FiledNameSql()
{
return $"[value=sql{UtilConstants.ReplaceKey}]";
}
}
}

Loading…
Cancel
Save