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"); 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) private object GetDateTimeString(object value)
{ {
@ -145,7 +145,7 @@ namespace SqlSugar.Access
{ {
date = Convert.ToDateTime("1900-01-01"); 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"); 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) private object GetDateTimeString(object value)
{ {
@ -99,7 +99,7 @@ namespace SqlSugar.Access
{ {
date = Convert.ToDateTime("1900-01-01"); 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

@ -2,7 +2,7 @@
<package > <package >
<metadata> <metadata>
<id>SqlSugar.AccessCore</id> <id>SqlSugar.AccessCore</id>
<version>5.1.24</version> <version>5.1.3.1</version>
<authors>sunkaixuan</authors> <authors>sunkaixuan</authors>
<owners>Landa</owners> <owners>Landa</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl> <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
@ -19,6 +19,6 @@
</dependencies> </dependencies>
</metadata> </metadata>
<files> <files>
<file src="E:\Git\SqlSugarNew\Src\Asp.NetCore2\SqlSugar.AccessCore\bin\Debug\netstandard2.1\SqlSugar.AccessCore.dll" target="lib\netstandard2.1"></file> <file src="E:\Git\SqlSugar\Src\Asp.NetCore2\SqlSugar.AccessCore\bin\Debug\netstandard2.1\SqlSugar.AccessCore.dll" target="lib\netstandard2.1"></file>
</files> </files>
</package> </package>