From 05bd1bd9b892498573207324615f814a851b310f Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 17 Jul 2025 09:56:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=BD=E6=9F=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 812648e87..1d94a6a52 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -2396,6 +2396,12 @@ namespace IRaCIS.Core.Infra.EFCore.Common var entity = item.Entity as ReadingClinicalDataPDF; + string extraIndentification=string.Empty; + if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ProjectManager) + { + extraIndentification= "/PM"; + } + var clinicalData = await _dbContext.ReadingClinicalData.Where(t => t.Id == entity.ReadingClinicalDataId).FirstOrDefaultAsync(); if (clinicalData != null) { @@ -2426,6 +2432,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common { TrialId = clinicalData.TrialId, SubjectId = clinicalData.SubjectId, + ExtraIndentification = extraIndentification, SubjectVisitId = subjectVisitId, }, new {