/// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="queryDisasterDato"></param>
        /// <returns></returns>
        public async Task <ListResultOutput <DisasterDto> > GetPageList(QueryDisasterInput queryDto)
        {
            try
            {
                var disasterEntity = await _iDisasterRepository.GetPageList(queryDto.PageIndex, queryDto.PageSize);

                var list = new ListResultOutput <DisasterDto>(disasterEntity.MapTo <List <DisasterDto> >());
                return(list);
            }
            catch (Exception exception)
            {
                throw exception;
            }
        }
        /// <summary>
        /// 分页并返回数据总条数
        /// </summary>
        /// <param name="queryDto"></param>
        /// <returns></returns>
        public async Task <PagedResultOutput <DisasterDto> > GetPageAndCountList(QueryDisasterInput queryDto)
        {
            try
            {
                var disasterEntity = await _iDisasterRepository.GetPageList(queryDto.PageIndex, queryDto.PageSize);

                IReadOnlyList <DisasterDto> ir = disasterEntity.MapTo <List <DisasterDto> >();
                int count = _iDisasterRepository.Count();
                PagedResultOutput <DisasterDto> list = new PagedResultOutput <DisasterDto>(count, ir);
                return(list);
            }
            catch (Exception exception)
            {
                throw exception;
            }
        }
        /// <summary>
        /// 获取符合的数据条数
        /// </summary>
        /// <param name="queryDisasterDato"></param>
        /// <returns></returns>
        public async Task <int> GetCount(QueryDisasterInput queryDto)
        {
            int pageCount = await _iDisasterRepository.CountAsync();

            return(pageCount);
        }