diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index c7b472d52..cc586d5dc 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -260,10 +260,6 @@ namespace IRaCIS.Core.Infra.EFCore.Common } - - - - // 既往手术史 foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(PreviousSurgery))) { @@ -1112,9 +1108,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common //后期通过关联 就不需要把 OtherItem 并入到Data中 Data = AddJsonItem(entityObj, otherItem), - //准确来讲 此处称之为 RelationData 更贴合 - CommonData = otherItem - //CommonData = AddJsonItem(generalData, otherItem) + //准确来讲 此处称之为 RelationData 更贴合 为了兼容之前的数据 + CommonData = new {SiteCode= generalData.SiteCode,SubjectCode=generalData.SubjectCode}, }.ToJsonStr();