/// <summary> /// 查询用户信息 /// </summary> /// <param name="conditionDto">查询条件</param> /// <returns>用户信息</returns> public IList <UserManage.UserDto> QueryUser(UserManage.QueryConditionDto conditionDto) { throw new NotImplementedException(); }
public PageDto() { QueryForm = new QueryConditionDto(); }
/// <summary> /// 分页查询用户信息 /// </summary> /// <param name="conditionDto">查询条件</param> /// <param name="pager">分页信息</param> /// <returns>分页用户信息</returns> public IList <UserManage.UserDto> QueryPagerUser(UserManage.QueryConditionDto conditionDto, Pager pager) { var entities = _userRepository.QueryPager(conditionDto.UserName, conditionDto.RoleId, conditionDto.RealName, pager); return(entities.ToDtoList <User, UserManage.UserDto>()); }