|
|
@ -159,7 +159,7 @@ public class XMLUtils {
|
|
|
|
value = node.getText();
|
|
|
|
value = node.getText();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 判断属性是否存在
|
|
|
|
// 判断属性是否存在
|
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddhhmmss");
|
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
|
|
|
String objField = existsField(obj.getClass(), key);
|
|
|
|
String objField = existsField(obj.getClass(), key);
|
|
|
|
if (objField != null) {
|
|
|
|
if (objField != null) {
|
|
|
|
PropertyDescriptor descriptor = new PropertyDescriptor(key, obj.getClass());
|
|
|
|
PropertyDescriptor descriptor = new PropertyDescriptor(key, obj.getClass());
|
|
|
|