|
@ -186,12 +186,15 @@ public class ClosedXmlExportImportService : IExportImportService |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
|
|
|
{ |
|
|
|
|
|
if (value.ToString() != "") |
|
|
{ |
|
|
{ |
|
|
var propertyValue = Convert.ChangeType(value.ToString(), propertyType); |
|
|
var propertyValue = Convert.ChangeType(value.ToString(), propertyType); |
|
|
property.SetValue(model, propertyValue); |
|
|
property.SetValue(model, propertyValue); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
result.Add(model); |
|
|
result.Add(model); |
|
|
} |
|
|
} |
|
|
//
|
|
|
//
|
|
|