Synchronization code

This commit is contained in:
sunkaixuan
2022-12-03 02:01:54 +08:00
parent 85ad8d8770
commit b0e7123156
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}]";
}
}
}