From c15ef3137caa93db7f029e24ec46fd56a4cfa85d Mon Sep 17 00:00:00 2001 From: "{872297557@qq.com}" <872297557@qq.com> Date: Thu, 29 Dec 2022 11:29:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E5=AD=A6=E5=AE=A1=E6=A0=B8=E5=AF=B9?= =?UTF-8?q?=E8=AF=9D=E5=A2=9E=E5=8A=A0=E7=94=A8=E6=88=B7=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 9dde7c465..1deb6bbcf 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -585,6 +585,18 @@ namespace IRaCIS.Core.Infra.EFCore.Common var entity = item.Entity as ReadingMedicalReviewDialog; + var extraIdentification = string.Empty; + + //失效的时候 不区分标识 + if (_userInfo.UserTypeEnumInt==(int)UserTypeEnum.MIM) + { + extraIdentification = $"/MIM"; + } + else + { + extraIdentification = $"/IR"; + } + await InsertInspection(entity, type, x => new InspectionConvertDTO() { IsDistinctionInterface = false, @@ -592,6 +604,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common ObjectRelationParentId = entity.TaskMedicalReviewId, + ExtraIndentification=extraIdentification + }); }