From 303bf195d27cc57be0cdb8233f23da4da8589321 Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 29 Apr 2026 16:03:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=BD=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index aa0d84619..9c8543324 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -2465,6 +2465,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common var extraIdentification = string.Empty; var entity = item.Entity as DicomStudy; + + var reason = entity.ModifyReason; switch (_userInfo.RequestUrl) { case "QCOperation/updateModality": @@ -2473,6 +2475,10 @@ namespace IRaCIS.Core.Infra.EFCore.Common extraIdentification = "/2"; } + break; + case "Study/amendmentPatientInfo": + reason=entity.Reason; + break; } @@ -2480,7 +2486,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common { ObjectRelationParentId = x.SubjectVisitId, ExtraIndentification = extraIdentification, - Reason = entity.ModifyReason + Reason = reason }); }