public async Task <IList <DoctorWithdrawRecord> > DoctorWithdrawRecordList(DoctorWithdrawRecordIn DoctorWithdrawRecordInfo)
        {
            //初步过滤
            var DoctorWithdrawRecords = _repository.GetAll().OrderByDescending(a => a.CreatedOn).Where(DoctorWithdrawRecordInfo.Expression);

            return(await DoctorWithdrawRecords.ToListAsync());
        }
        public async Task <PagedResultDto <DoctorWithdrawRecord> > DoctorWithdrawRecordPage(DoctorWithdrawRecordIn DoctorWithdrawRecordInfo)
        {
            //初步过滤
            var query = _repository.GetAll().OrderByDescending(a => a.CreatedOn).Where(DoctorWithdrawRecordInfo.Expression);
            //获取总数
            var tasksCount = query.Count();
            //获取总数
            var totalpage = tasksCount / DoctorWithdrawRecordInfo.MaxResultCount;
            var DoctorWithdrawRecordList = await query.PageBy(DoctorWithdrawRecordInfo.SkipTotal, DoctorWithdrawRecordInfo.MaxResultCount).ToListAsync();

            return(new PagedResultDto <DoctorWithdrawRecord>(tasksCount, DoctorWithdrawRecordList.MapTo <List <DoctorWithdrawRecord> >()));
        }