From d125ff63248271fe66af6072538e6cc12663d11e Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 16 Apr 2025 13:28:00 +0800 Subject: [PATCH] =?UTF-8?q?x=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/Document/TrialDocumentService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs index 850cc30c1..f8495e650 100644 --- a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs @@ -864,7 +864,7 @@ namespace IRaCIS.Core.Application.Services if (sysDataList.Any(y => y.Id == item.Id)) { - item.AttachmentCount = sysDataList.Where(y => y.Id == item.Id).Select(x => x.SystemDocumentAttachmentList.Count()).FirstOrDefault(); + item.AttachmentCount = sysDataList.Where(y => y.Id == item.Id).Select(x => x.SystemDocumentAttachmentList.Where(z=>!z.OffLine).Count()).FirstOrDefault(); } if (item.IsSystemDoc)