Synchronization code

This commit is contained in:
sunkaixuan 2024-03-27 19:41:27 +08:00
parent 0ed8ba4757
commit ec4adc40ce
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ namespace SqlSugar
{
if (columnInfo.Value == null)
{
return string.Format(columnInfo.InsertSql, "null");
return string.Format(columnInfo.InsertSql, "null").Replace("'null'","null");
}
else
{

View File

@ -486,7 +486,7 @@ namespace SqlSugar
{
if (columnInfo.Value == null)
{
return string.Format(columnInfo.UpdateSql, "null");
return string.Format(columnInfo.UpdateSql, "null").Replace("'null'", "null");
}
else
{