if (ExcelPublicUtil.isNotUserExcelUserThis(field, targetId)) {
continue;
}
if (ExcelPublicUtil.isCollection(field.getType())) {
// 集合对象设置属性
ExcelCollectionParams collection = new ExcelCollectionParams();
collection.setName(field.getName());
Map<String, ExcelImportEntity> temp = new HashMap<String, ExcelImportEntity>();
ParameterizedType pt = (ParameterizedType) field
.getGenericType();
Class<?> clz = (Class<?>) pt.getActualTypeArguments()[0];
collection.setType(clz);
getExcelFieldList(targetId,
ExcelPublicUtil.getClassFields(clz), clz, temp, null);
collection.setExcelParams(temp);
excelCollection.add(collection);
} else if (ExcelPublicUtil.isJavaClass(field)) {
addEntityToMap(targetId, field, excelEntity, pojoClass,getMethods,excelParams);
} else {
List<Method> newMethods = new ArrayList<Method>();