|
|
|
@@ -113,7 +113,7 @@ public class ConvertUtil { |
|
|
|
if (propertyType.isAssignableFrom(LinkedHashMap.class)) { |
|
|
|
// 如果属性类型是 HashMap,则递归转换 |
|
|
|
Map<String, Object> mapValue = (Map<String, Object>) value; |
|
|
|
Object convertedValue = convertMapToObject(mapValue, propertyType); |
|
|
|
Object convertedValue = convertMapToObject2(mapValue, propertyType); |
|
|
|
PropertyUtils.setProperty(targetObject, camelCaseKey, convertedValue); |
|
|
|
} else if (!(value instanceof LinkedHashMap)) { |
|
|
|
PropertyUtils.setProperty(targetObject, camelCaseKey, value); |
|
|
|
|