Update SugarParameter

This commit is contained in:
sunkaixuan
2022-06-14 18:58:01 +08:00
parent 147b3b2751
commit a4ad84c8f3

View File

@@ -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)
{