Browse Source

Code optimization

pull/19/head
sunkaixuan 3 years ago
parent
commit
6981e2666f
  1. 1
      Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/SqlBuilderProvider.cs

1
Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/SqlBuilderProvider.cs

@ -160,6 +160,7 @@ namespace SqlSugar
}
string oldName = item.FieldName;
item.FieldName = GetTranslationColumnName(item.FieldName);
Check.Exception(item.FieldName.Contains("--"), "Field name is error format");
switch (item.ConditionalType)
{
case ConditionalType.Equal:

Loading…
Cancel
Save