Пример #1
0
 /// <summary>
 /// 查询用户信息
 /// </summary>
 /// <param name="conditionDto">查询条件</param>
 /// <returns>用户信息</returns>
 public IList <UserManage.UserDto> QueryUser(UserManage.QueryConditionDto conditionDto)
 {
     throw new NotImplementedException();
 }
Пример #2
0
 public PageDto()
 {
     QueryForm = new QueryConditionDto();
 }
Пример #3
0
        /// <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>());
        }