Code optimization

This commit is contained in:
sunkaixuan 2022-12-03 02:00:36 +08:00
parent 809cacb614
commit 85ad8d8770
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

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