Beispiel #1
0
 @RequestMapping("queryzixun")
 public void queryzixun(Long type, HttpServletResponse request, HttpServletResponse response)
     throws IOException {
   PrintWriter out = response.getWriter();
   List<Map<String, String>> map = mpts.queryzixun(type);
   String json = mapper.toJson(map);
   out.write(json);
   out.close();
 }