From a075eb34cd591dcaf757b86b683cccd5b39ee9eb Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Fri, 5 Dec 2025 14:13:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AD=BE=E7=BD=B2=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Document/SystemDocumentService.cs | 2 +- .../Service/Document/TrialDocumentService.cs | 2 +- .../Service/Reading/ReadingImageTask/ReadingImageTaskService.cs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs index 82e18f001..1d3f9da0f 100644 --- a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs @@ -286,7 +286,7 @@ namespace IRaCIS.Core.Application.Services var isInternal = _userInfo.IsZhiZhun; - var query = from sysDoc in _systemDocumentRepository.AsQueryable(true) + var query = from sysDoc in _systemDocumentRepository.Where(t=>t.IsPublish) .Where(t => t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == _userInfo.UserTypeId)) .WhereIf(!string.IsNullOrEmpty(inQuery.Name), t => t.Name.Contains(inQuery.Name)) //外部人员 只签署 外部需要签署的 diff --git a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs index 06de4dcf3..44ac0b256 100644 --- a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs @@ -164,7 +164,7 @@ namespace IRaCIS.Core.Application.Services [HttpPost] public async Task> GetTrialSignDocumentList(TrialDocQuery inQuery) { - var trialDocQueryable = from trialDoc in _trialDocumentRepository.AsQueryable(true) + var trialDocQueryable = from trialDoc in _trialDocumentRepository.Where(t=>t.IsPublish) .WhereIf(inQuery.TrialId != null, t => t.TrialId == inQuery.TrialId) .Where(t => t.NeedConfirmedUserTypeList.Any(t => t.NeedConfirmUserTypeId == _userInfo.UserTypeId)) diff --git a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs index 06daa91e6..a1db67038 100644 --- a/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs +++ b/IRaCIS.Core.Application/Service/Reading/ReadingImageTask/ReadingImageTaskService.cs @@ -464,7 +464,6 @@ namespace IRaCIS.Core.Application.Service .WhereIf(userType == UserTypeEnum.IndependentReviewer, t => t.FileType.Code == "2" || t.FileType.Code == "6") .WhereIf(userType == UserTypeEnum.IQC, t => t.FileType.Code == "4" || t.FileType.Code == "5") .WhereIf(!canViewUserType.Contains(userType), t => false) - .IgnoreQueryFilters() .Select(x => new GetManualListOutDto() { Id = x.Id,