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