mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 21:53:35 +08:00
Update AccessCore
This commit is contained in:
parent
cd3a2eb097
commit
03e395b0da
@ -142,7 +142,10 @@ namespace SqlSugar.Access
|
|||||||
if (isTime)
|
if (isTime)
|
||||||
{
|
{
|
||||||
sqlParameter.DbType = System.Data.DbType.String;
|
sqlParameter.DbType = System.Data.DbType.String;
|
||||||
sqlParameter.Value = sqlParameter.Value.ToString();
|
if (sqlParameter.Value != DBNull.Value)
|
||||||
|
{
|
||||||
|
sqlParameter.Value = sqlParameter.Value.ToString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (sqlParameter.Value!=null&& sqlParameter.Value != DBNull.Value && sqlParameter.DbType == System.Data.DbType.DateTime)
|
if (sqlParameter.Value!=null&& sqlParameter.Value != DBNull.Value && sqlParameter.DbType == System.Data.DbType.DateTime)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user