diff --git a/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs b/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs index dc2376220..3c6baa4a4 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/DbBindProvider/DbBindAccessory.cs @@ -328,7 +328,7 @@ namespace SqlSugar } else { - result.Add((T)Convert.ChangeType(value, UtilMethods.GetUnderType(type))); + result.Add((T)UtilMethods.ChangeType2(value, type)); } } }