摘要: Map<String, user> map = ad.getAttentionPatient("2"); JSONArray json = JSONArray.fromObject(map); System.out.println(json.toString());//打印json格式数据 迭代读取 阅读全文
posted @ 2016-02-15 10:16 NullPointException 阅读(259) 评论(0) 推荐(0)
摘要: 精确到秒 public static String lastTimeStr(String time) throws ParseException { String timer = ""; if (time.equals("") || time == null) { //System.out.prin 阅读全文
posted @ 2016-02-15 09:30 NullPointException 阅读(314) 评论(0) 推荐(0)