@@ -76,11 +76,12 @@ namespace IRaCIS.Core.Infrastructure.Extention
|
||||
|
||||
foreach (PropertyInfo property in properties)
|
||||
{
|
||||
if (typeof(IEnumerable).IsAssignableFrom(property.PropertyType)
|
||||
&& property.PropertyType != typeof(string))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
//质控导出需要集合
|
||||
// if (typeof(IEnumerable).IsAssignableFrom(property.PropertyType)
|
||||
//&& property.PropertyType != typeof(string))
|
||||
// {
|
||||
// continue;
|
||||
// }
|
||||
|
||||
string propertyName = property.Name;
|
||||
object propertyValue = property.GetValue(obj);
|
||||
|
||||
Reference in New Issue
Block a user