mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update Access bug
This commit is contained in:
parent
c5fa10fe3f
commit
a7d571a6e5
@ -136,7 +136,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)
|
||||
{
|
||||
@ -145,7 +145,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") + "'";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user