From 80b877879c328e2766ead4d25dba89252d1f8d05 Mon Sep 17 00:00:00 2001 From: he <10978375@qq.com> Date: Tue, 23 May 2023 09:33:17 +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 --- .../ReadingImageTaskService.cs | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs index 1c52065c3..5a337833e 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs @@ -150,23 +150,23 @@ namespace IRaCIS.Application.Services //_userInfo.UserTypeId return await _trialDocumentRepository.Where(x => x.TrialId == inDto.TrialId - && x.TrialDocConfirmedUserList.Any(y => y.ConfirmUserId == _userInfo.Id) + && x.TrialDocConfirmedUserList.Any(y => y.ConfirmUserId == _userInfo.Id && y.ConfirmTime != null) && x.NeedConfirmedUserTypeList.Any(y => y.NeedConfirmUserTypeId == _userInfo.UserTypeId)) - .Where(t => t.FileType.Code == "2" || t.FileType.Code == "6") - .Select(x => new GetManualListOutDto() - { - Id=x.Id, - Name = x.Name, - Path = x.Path - }).ToListAsync(); - } + .Where(t => t.FileType.Code == "2" || t.FileType.Code == "6").IgnoreQueryFilters() + .Select(x => new GetManualListOutDto() + { + Id = x.Id, + Name = x.Name, + Path = x.Path + }).ToListAsync(); + } - /// - /// 获取任务附加问题 - /// - /// - /// - [HttpPost] + /// + /// 获取任务附加问题 + /// + /// + /// + [HttpPost] public async Task<(List, bool)> GetTaskAdditionalQuestion(GetTaskAdditionalQuestionInDto inDto) {