mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update SugarParameter
This commit is contained in:
@@ -136,7 +136,10 @@ namespace SqlSugar
|
||||
else if (type!=null&&type.IsEnum())
|
||||
{
|
||||
this.DbType = System.Data.DbType.Int64;
|
||||
this.Value = Convert.ToInt64(Value);
|
||||
if (Value != null)
|
||||
{
|
||||
this.Value = Convert.ToInt64(Value);
|
||||
}
|
||||
}
|
||||
else if (type==UtilConstants.UIntType)
|
||||
{
|
||||
|
Reference in New Issue
Block a user