|
|
@ -106,7 +106,7 @@ public class ClassUtils { |
|
|
|
ConfigurationHolder configurationHolder) { |
|
|
|
ConfigurationHolder configurationHolder) { |
|
|
|
Class<?> clazz = null; |
|
|
|
Class<?> clazz = null; |
|
|
|
if (dataMap instanceof BeanMap) { |
|
|
|
if (dataMap instanceof BeanMap) { |
|
|
|
Object bean = ((BeanMap) dataMap).getBean(); |
|
|
|
Object bean = ((BeanMap)dataMap).getBean(); |
|
|
|
if (bean != null) { |
|
|
|
if (bean != null) { |
|
|
|
clazz = bean.getClass(); |
|
|
|
clazz = bean.getClass(); |
|
|
|
} |
|
|
|
} |
|
|
@ -324,7 +324,7 @@ public class ClassUtils { |
|
|
|
return fieldCache; |
|
|
|
return fieldCache; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
WriteHolder writeHolder = (WriteHolder) configurationHolder; |
|
|
|
WriteHolder writeHolder = (WriteHolder)configurationHolder; |
|
|
|
|
|
|
|
|
|
|
|
boolean needIgnore = !CollectionUtils.isEmpty(writeHolder.excludeColumnFieldNames()) |
|
|
|
boolean needIgnore = !CollectionUtils.isEmpty(writeHolder.excludeColumnFieldNames()) |
|
|
|
|| !CollectionUtils.isEmpty(writeHolder.excludeColumnIndexes()) |
|
|
|
|| !CollectionUtils.isEmpty(writeHolder.excludeColumnIndexes()) |
|
|
|