From 0a994573cdb160a2b2599422f2345c96e5ba916d Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Wed, 10 May 2023 14:35:34 +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 --- .../Reading/ReadingImageTask/ReadingImageTaskService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs index 98ed6017b..866c54787 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs @@ -148,7 +148,9 @@ namespace IRaCIS.Application.Services UserTypeEnum userType = (UserTypeEnum)_userInfo.UserTypeEnumInt; //_userInfo.UserTypeId - return await _trialDocumentRepository.Where(x => x.TrialId == inDto.TrialId && x.NeedConfirmedUserTypeList.Any(y => y.NeedConfirmUserTypeId == _userInfo.UserTypeId)) + return await _trialDocumentRepository.Where(x => x.TrialId == inDto.TrialId + &&x.TrialDocConfirmedUserList.Any(y=>y.ConfirmUserId== _userInfo.Id) + && x.NeedConfirmedUserTypeList.Any(y => y.NeedConfirmUserTypeId == _userInfo.UserTypeId)) .Select(x => new GetManualListOutDto() { Id=x.Id,