Package com.lanyuan.entity

Examples of com.lanyuan.entity.Roles


   * @param type
   * @return
   */
  @RequestMapping(value="getById")
  public String getById(Model model,String roleId,int typeKey){
    Roles role = rolesService.getById(roleId);
    model.addAttribute("role", role);
    if(typeKey == 1){
      return "/background/role/edit";
    }else{
      return "/background/role/show";
View Full Code Here


            + "', fname: '" + r.getName()
            + "'});");

      }
    }
    Roles roles = userService.findbyUserRole(userId);
    if(roles!=null){
      model.addAttribute("roleId", roles.getId());
    }
    model.addAttribute("resources", sb);
    return "/background/resources/permissioUser";
  }
View Full Code Here

TOP

Related Classes of com.lanyuan.entity.Roles

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.