mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update Access bug
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user