Synchronization code

This commit is contained in:
sunkaixuan 2024-02-11 10:16:50 +08:00
parent fa0de59e4f
commit e222503f39
2 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,7 @@ namespace SqlSugar
mainIndex++; mainIndex++;
continue; continue;
} }
else if (item.FieldName == UtilMethods.FiledNameSql()) else if (item.FieldName == UtilMethods.FieldNameSql())
{ {
builder.Append(item.FieldValue); builder.Append(item.FieldValue);
continue; continue;

View File

@ -1519,10 +1519,15 @@ namespace SqlSugar
} }
} }
[Obsolete("请使用新名字FieldNameSql")]
public static string FiledNameSql() public static string FiledNameSql()
{ {
return $"[value=sql{UtilConstants.ReplaceKey}]"; return $"[value=sql{UtilConstants.ReplaceKey}]";
} }
public static string FieldNameSql()
{
return $"[value=sql{UtilConstants.ReplaceKey}]";
}
internal static object TimeOnlyToTimeSpan(object value) internal static object TimeOnlyToTimeSpan(object value)
{ {