Ejemplo n.º 1
0
 @RequestMapping(
     value = {"/showDetailBrief"},
     method = RequestMethod.GET)
 @ResponseBody
 public Brief detailBrief(Model model, @RequestParam(value = "briefId") String briefId) {
   Brief brief = briefService.getBrief(Integer.parseInt(briefId));
   return brief;
 }
Ejemplo n.º 2
0
 @RequestMapping(
     value = {"/showImageBrief"},
     method = RequestMethod.GET)
 @ResponseBody
 public List<File> detailImageBrief(Model model, @RequestParam(value = "briefId") String briefId) {
   Brief brief = briefService.getBrief(Integer.parseInt(briefId));
   List<File> listFiles = brief.getListImage();
   return listFiles;
 }