@RequiresPermissions("application-function")
 @RequestMapping(value = "update-func/{id}", method = RequestMethod.GET)
 public String updateFunc(@PathVariable("id") Long id, Model model) {
   model.addAttribute("function", applicationInfoService.ReadResourceInfo(id));
   model.addAttribute("action", "update");
   return "application/functionForm";
 }
 @RequiresPermissions("application-function")
 @RequestMapping(value = "find-one-resource", method = RequestMethod.POST)
 @ResponseBody
 public KnResource findOneResource(@RequestParam(value = "id", required = true) Long id) {
   return applicationInfoService.ReadResourceInfo(id);
 }