You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					
					
						
							29 lines
						
					
					
						
							1.0 KiB
						
					
					
				
			
		
		
	
	
							29 lines
						
					
					
						
							1.0 KiB
						
					
					
				| //package com.ynxbd.common.helper.common;
 | |
| //
 | |
| //import org.dom4j.Document;
 | |
| //import org.dom4j.DocumentHelper;
 | |
| //import org.dom4j.Element;
 | |
| //
 | |
| //import java.io.File;
 | |
| //import java.util.HashMap;
 | |
| //import java.util.Map;
 | |
| //
 | |
| //public class XmlHelper {
 | |
| ////    public static void main(String[] args) {
 | |
| ////        ArrayList<Student> stuList = new ArrayList<>();
 | |
| ////        stuList.add(new Student("1", "张三", "1001", 21, "男", "湖南"));
 | |
| ////        stuList.add(new Student("2", "李四", "1002", 20, "男", "甘肃"));
 | |
| ////        stuList.add(new Student("3", "王五", "1003", 22, "男", "湖南"));
 | |
| ////        writeXml(stuList, Student.class);
 | |
| ////    }
 | |
| //
 | |
| ////    public static void main(String[] args) {
 | |
| ////        Map<String, Object> map = new HashMap<>();
 | |
| ////        map.put("insurance_fee", 1); // 医保支付金额(分)
 | |
| ////        map.put("total_fee", 1); // 总金额(分)
 | |
| ////        map.put("body", "我是一个测试"); // 商品描述
 | |
| ////        writeXml(map);
 | |
| ////    }
 | |
| //
 | |
| //
 | |
| //}
 | |
| 
 |