mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 20:43:46 +08:00
Update pgsql
This commit is contained in:
@@ -88,7 +88,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return string.Format(SqlTemplateBatchSelect, "NULL");
|
return string.Format(SqlTemplateBatchSelect, "NULL");
|
||||||
}
|
}
|
||||||
return string.Format(SqlTemplateBatchSelect, "'" + value.ObjToString().ToSqlFilter() + "'");
|
return string.Format(SqlTemplateBatchSelect, "'" + value.ObjToStringNoTrim().ToSqlFilter() + "'");
|
||||||
})) + "),");
|
})) + "),");
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
@@ -98,6 +98,11 @@ namespace SqlSugar
|
|||||||
if (thisValue != null) return thisValue.ToString().Trim();
|
if (thisValue != null) return thisValue.ToString().Trim();
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
public static string ObjToStringNoTrim(this object thisValue)
|
||||||
|
{
|
||||||
|
if (thisValue != null) return thisValue.ToString();
|
||||||
|
return "";
|
||||||
|
}
|
||||||
public static string ObjToStringNew(this object thisValue)
|
public static string ObjToStringNew(this object thisValue)
|
||||||
{
|
{
|
||||||
if (thisValue != null && thisValue is byte[])
|
if (thisValue != null && thisValue is byte[])
|
||||||
|
Reference in New Issue
Block a user