5065752e4e3f9d9050ec826f15aa1cf794e20e99.svn-base 708 B

1234567891011121314151617181920212223242526272829303132
  1. package org.zsl.testmybatis;
  2. import java.util.ArrayList;
  3. import java.util.HashMap;
  4. import java.util.List;
  5. import java.util.Map;
  6. import com.alibaba.fastjson.JSONArray;
  7. import com.alibaba.fastjson.JSONObject;
  8. import com.synyi.edc.util.XmlUtils;
  9. public class Test {
  10. public static void main(String[] args) {
  11. // TODO Auto-generated method stub
  12. Map<String,String> map = new HashMap();
  13. map.put("groupType", "年龄段");
  14. map.put("minValue", "0");
  15. map.put("maxValue", "100");
  16. map.put("interval", "10");
  17. // String str = JSONObject.toJSON(map).toString();
  18. // System.out.println(str);
  19. //
  20. System.out.println("121221".substring(0,"121221".length()-1));
  21. }
  22. }