From a3b5129ee2971e36eea5149bf69c2a7d595a559e Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 13 Mar 2025 16:43:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs | 4 ++++ IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs b/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs index 32fde311f..0655e322b 100644 --- a/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs +++ b/IRaCIS.Core.Application/Service/Doctor/AttachmentService.cs @@ -89,6 +89,10 @@ namespace IRaCIS.Core.Application.Service return attachmentList; } + + //public async Task<> + + [NonDynamicMethod] public async Task GetDetailById(Guid attachmentId) { diff --git a/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs b/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs index 002dbf7e9..31493b2bc 100644 --- a/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs +++ b/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs @@ -253,7 +253,7 @@ namespace IRaCIS.Core.Application.Service var doctorPageList = await doctorQuery.ToPagedListAsync(inQuery); - var enrollStateList = await _enrollDetailRepository.Where(x => x.TrialId == inQuery.TrialId && x.EnrollStatus > EnrollStatus.InviteIntoGroup) + var enrollStateList = await _enrollDetailRepository.Where(x => x.TrialId == inQuery.TrialId && x.EnrollStatus >= EnrollStatus.InviteIntoGroup) .ProjectTo(_mapper.ConfigurationProvider).ToListAsync();