diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 32b7dc176..7ac7dc755 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -219,7 +219,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common await InsertInspection(item.Entity as Trial, type, x => new InspectionConvertDTO() { TrialId = x.Id, - + ExtraIndentification = extraIdentification, }, new { @@ -500,7 +500,9 @@ namespace IRaCIS.Core.Infra.EFCore.Common ExtraIndentification = extraIdentification - }, new { ParentQuestionShowOrder = parentQuestionShowOrder, RelavantQuestionShowOrder = relavantQuestionShowOrder }); + }, new { ParentQuestionShowOrder = parentQuestionShowOrder, + OperatingTime=DateTime.Now, + RelavantQuestionShowOrder = relavantQuestionShowOrder }); } //系统标准表格问题 @@ -3184,6 +3186,8 @@ namespace IRaCIS.Core.Infra.EFCore.Common { VisitTaskId = x.VisitTaskId, + GeneralId = IdentifierHelper.CreateGuid(cloneEntity.VisitTaskId.ToString(), cloneEntity.ReadingQuestionTrialId.ToString()), + ObjectRelationParentId = x.VisitTaskId, TrialReadingCriterionId = x.ReadingQuestionCriterionTrialId, @@ -3244,7 +3248,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common await InsertInspection(entity, type, x => new InspectionConvertDTO() { VisitTaskId = entity.VisitTaskId, - + GeneralId = IdentifierHelper.CreateGuid(entity.VisitTaskId.ToString(), entity.QuestionId.ToString(), entity.TableQuestionId.ToString()), ObjectRelationParentId = entity.VisitTaskId, }, new