From cfa384d02a8bb024a072f464ac32c3473c7fddbe Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Thu, 23 Jan 2025 12:54:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=A1=A3=E7=AD=BE?= =?UTF-8?q?=E7=BD=B2=E7=BB=9F=E8=AE=A1=E6=95=B0=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs index 7826602ac..ddeec3919 100644 --- a/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/TrialDocumentService.cs @@ -439,6 +439,7 @@ namespace IRaCIS.Core.Application.Services var needSignSystemDocCount = await _systemDocumentRepository.AsQueryable(true) + .WhereIf(isInternal == false, t => t.DocUserSignType == DocUserSignType.InnerAndOuter) .Where(t => t.IsDeleted == false && !t.SystemDocConfirmedUserList.Any(t => t.ConfirmUserId == _userInfo.IdentityUserId && t.ConfirmTime != null) && t.NeedConfirmedUserTypeList.Any(u => u.NeedConfirmUserTypeId == _userInfo.UserTypeId)) .CountAsync();