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,