/// <summary> /// 根据角色编号获取用户列表 /// </summary> /// <param name="entity">角色用户搜索实体</param> /// <returns>PageDataModel<Role2UserEntity></returns> public Task <BasePagedListModel <Role2UserEntity> > GetListByRoleIdAsync(RoleUserSearchParam param) { if (param == null) { throw new ArgumentNullException(nameof(param)); } return(roleUserRepository.GetListByRoleIdAsync(param)); }