This commit is contained in:
sunkaixuan
2019-05-28 21:50:00 +08:00
parent 27b11da981
commit df256b57aa
2 changed files with 1 additions and 0 deletions

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);