mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 04:59:34 +08:00
Update SugarColumns.Sql
This commit is contained in:
parent
09e34ee51f
commit
673d68d638
@ -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
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user