Update Access

This commit is contained in:
sunkaixuan
2022-09-20 16:32:56 +08:00
parent f2f1642bb6
commit 188a20a79f
3 changed files with 6 additions and 6 deletions

View File

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

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