mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Update pgsql bug
This commit is contained in:
@@ -75,11 +75,11 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
value = it.Value;
|
value = it.Value;
|
||||||
}
|
}
|
||||||
if (value == null)
|
if (value == null||value==DBNull.Value)
|
||||||
{
|
{
|
||||||
return string.Format(SqlTemplateBatchSelect, "NULL");
|
return string.Format(SqlTemplateBatchSelect, "NULL");
|
||||||
}
|
}
|
||||||
return string.Format(SqlTemplateBatchSelect, "'" + value + "'");
|
return string.Format(SqlTemplateBatchSelect, "'" + value.ObjToString().ToSqlFilter() + "'");
|
||||||
})) + "),");
|
})) + "),");
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user