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
1240d9b010
commit
585bd372d5
@ -142,7 +142,10 @@ namespace SqlSugar.Access
|
||||
if (isTime)
|
||||
{
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user