mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
ORACLE performance optimizing
This commit is contained in:
parent
42bb3f3e4c
commit
990fabe66d
@ -150,6 +150,11 @@ namespace SqlSugar
|
||||
sqlParameter.Value = (bool)parameter.Value ? 1 : 0;
|
||||
}
|
||||
}
|
||||
else if (parameter.DbType == System.Data.DbType.DateTime)
|
||||
{
|
||||
sqlParameter.Value = parameter.Value;
|
||||
sqlParameter.DbType = System.Data.DbType.Date;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (parameter.Value != null && parameter.Value.GetType() == UtilConstants.GuidType)
|
||||
|
Loading…
Reference in New Issue
Block a user