Update Access bug

This commit is contained in:
sunkaixuan
2022-09-20 16:30:09 +08:00
parent 029bb0deae
commit f2f1642bb6

View File

@@ -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") + "'";
}
}
}