1127 稽查修改

Uat_Study
hang 2023-11-27 13:27:44 +08:00
parent 2c377d02f9
commit f08cd1c818
1 changed files with 2 additions and 0 deletions

View File

@ -1543,6 +1543,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
} }
await InsertInspection<TrialSite>(entity, type, x => new InspectionConvertDTO() await InsertInspection<TrialSite>(entity, type, x => new InspectionConvertDTO()
{ {
IsDistinctionInterface= type == AuditOpt.Update ? true : false,
TrialId = x.TrialId, TrialId = x.TrialId,
ObjectRelationParentId = x.TrialId ObjectRelationParentId = x.TrialId
@ -1593,6 +1594,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
await InsertInspection<TrialSiteUser>(item.Entity as TrialSiteUser, type, x => new InspectionConvertDTO await InsertInspection<TrialSiteUser>(item.Entity as TrialSiteUser, type, x => new InspectionConvertDTO
{ {
IsDistinctionInterface= type == AuditOpt.Update ? true : false,
TrialId = x.TrialId, TrialId = x.TrialId,
ObjectRelationParentId = entity.TrialSite.Id, ObjectRelationParentId = entity.TrialSite.Id,
ObjectRelationParentId2 = x.UserId, ObjectRelationParentId2 = x.UserId,