7a5bd07ee332989dbceb75e957ccf5f83feca350.svn-base 541 B

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