From b87e5319206e4aabb7fbc4cffd30fb8e849faf67 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Thu, 4 Sep 2025 14:50:27 +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 --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index d585f0a84..520d5bab0 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -1735,6 +1735,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common var sCPStudy = await _dbContext.SCPStudy.Where(x => x.Id == entity.SCPStudyId).FirstOrDefaultAsync(); + await InsertInspection(item.Entity as SCPStudySubjectVisit, type, x => new InspectionConvertDTO() { ObjectRelationParentId = x.SubjectId, @@ -1746,6 +1747,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common }, new { + PatientIdStr = sCPStudy != null ? sCPStudy.PatientIdStr : null, StudyTime = sCPStudy != null ? sCPStudy.StudyTime : null, });