mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Insert UPDATE BUG
This commit is contained in:
@@ -163,7 +163,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
date = Convert.ToDateTime("1900-1-1");
|
date = Convert.ToDateTime("1900-1-1");
|
||||||
}
|
}
|
||||||
return "'" + date.ToString("yyyy-MM-dd hh:mm:ss.fff") + "'";
|
return "'" + date.ToString("yyyy-MM-dd HH:mm:ss.fff") + "'";
|
||||||
}
|
}
|
||||||
else if (type == PubConst.BoolType)
|
else if (type == PubConst.BoolType)
|
||||||
{
|
{
|
||||||
|
@@ -256,7 +256,7 @@ namespace SqlSugar
|
|||||||
if (date < Convert.ToDateTime("1900-1-1")) {
|
if (date < Convert.ToDateTime("1900-1-1")) {
|
||||||
date = Convert.ToDateTime("1900-1-1");
|
date = Convert.ToDateTime("1900-1-1");
|
||||||
}
|
}
|
||||||
return "'" + date.ToString("yyyy-MM-dd hh:mm:ss.fff") + "'";
|
return "'" + date.ToString("yyyy-MM-dd HH:mm:ss.fff") + "'";
|
||||||
}
|
}
|
||||||
else if (type == PubConst.BoolType)
|
else if (type == PubConst.BoolType)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user