mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 18:34:55 +08:00
Update MySqlBulkCopy
This commit is contained in:
@@ -176,7 +176,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
sb.Append(row[colum].ObjToDate().ToString("yyyy-MM-dd HH:mm:ss.fff"));
|
sb.Append(row[colum].ObjToDate().ToString("yyyy-MM-dd HH:mm:ss.fff"));
|
||||||
}
|
}
|
||||||
else if (colum.DataType == UtilConstants.DateType && row[colum] != null && row[colum] == DBNull.Value)
|
else if (row[colum] == null || row[colum] == DBNull.Value)
|
||||||
{
|
{
|
||||||
sb.Append("NULL");
|
sb.Append("NULL");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user