/// <summary> /// 根据权限组Id或名称,遍历关联角色组 /// </summary> /// <param name="input"></param> /// <returns></returns> public Pages <List <RoleGroupOutputDto> > GetRoleGroupByPowerGroup(PowerGroupInputDto input) { var data = _roleGroupRepository.GetRoleGroupByPowerGroup(input.id, input.powergroupname, input.parentid, input.pageindex, input.pagesize); return(new Pages <List <RoleGroupOutputDto> >(data.items.MapperToOutPut <RoleGroupOutputDto>()?.ToList(), data.count)); }