Exemplo n.º 1
0
 @RequestMapping(value = "map/{id}", method = RequestMethod.GET)
 // @ResponseStatus(HttpStatus.OK)
 public Map loadMaInfo(@PathVariable("id") String id) {
   return repository.selectMap(id);
 }
Exemplo n.º 2
0
 @RequestMapping(value = "maps", method = RequestMethod.GET)
 // @ResponseStatus(HttpStatus.OK)
 public List loadMapList(HttpServletRequest request) {
   return repository.selectMaps();
 }