/// <summary> /// 根据角色名获取角色id /// </summary> /// <param name="roleName">角色名称</param> /// <returns>角色id</returns> public int selectByroleName(string roleName) { return(roleDao.selectByroleName(roleName)); }