mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update Access bug
This commit is contained in:
@@ -90,7 +90,7 @@ namespace SqlSugar.Access
|
||||
{
|
||||
date = Convert.ToDateTime("1900-01-01");
|
||||
}
|
||||
return "'" + date.ToString("yyyy-MM-dd HH:mm") + "'";
|
||||
return "'" + date.ToString("yyyy-MM-dd HH:mm:ss") + "'";
|
||||
}
|
||||
private object GetDateTimeString(object value)
|
||||
{
|
||||
@@ -99,7 +99,7 @@ namespace SqlSugar.Access
|
||||
{
|
||||
date = Convert.ToDateTime("1900-01-01");
|
||||
}
|
||||
return "'" + date.ToString("yyyy-MM-dd HH:mm") + "'";
|
||||
return "'" + date.ToString("yyyy-MM-dd HH:mm:ss") + "'";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user