This commit is contained in:
sunkaixuan
2019-05-28 21:51:29 +08:00
parent df256b57aa
commit 043c8fa20b

View File

@@ -24,6 +24,7 @@ namespace SqlSugar
{ {
if (value != null) if (value != null)
{ {
destinationType = UtilMethods.GetUnderType(destinationType);
var sourceType = value.GetType(); var sourceType = value.GetType();
var destinationConverter = TypeDescriptor.GetConverter(destinationType); var destinationConverter = TypeDescriptor.GetConverter(destinationType);