修复解析xml时时间格式转换问题 9/29 wzq

master
wzqgit 4 years ago
parent f6af9a6750
commit 9f77333761

@ -134,8 +134,8 @@ public class XMLUtils {
MessageDto messageDto = null;
Document doc = null;
Object obj = null;
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddhhmmss");
SimpleDateFormat simpleDateFormat1 = new SimpleDateFormat("yyyy/MM/dd hh:mm:ss");
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyyMMddHHmmss");
SimpleDateFormat simpleDateFormat1 = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
xmlStr = xmlStr.replaceAll("&", "&");
SAXReader saxReader = new SAXReader();
saxReader.setXMLFilter(new XMLFilterImpl() {

Loading…
Cancel
Save