From fb66e2c7388802c96c145ce6f1fdceb26d86a25a Mon Sep 17 00:00:00 2001 From: he <109787524@qq.com> Date: Wed, 25 Jun 2025 14:18:23 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=96=87=E6=A1=A3=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E7=A8=BD=E6=9F=A5=20=E5=8C=BA=E5=88=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs index 008b2b899..b1d7a7de8 100644 --- a/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs +++ b/IRaCIS.Core.Infra.EFCore/Common/AuditingData.cs @@ -1013,9 +1013,14 @@ namespace IRaCIS.Core.Infra.EFCore.Common var usertypeNames = await _dbContext.UserType.Where(x => needConfirmedUserTypeIdList.Contains(x.Id)).Select(x => x.UserTypeShortName).ToListAsync(); var usertypeName = string.Join(",", usertypeNames); + var isDistinctionInterface = false; + if (_userInfo.RequestUrl == "TrialDocument/publishTrialDocument") + { + isDistinctionInterface = true; + } await InsertInspection(entity, type, x => new InspectionConvertDTO() { - IsDistinctionInterface = false, + IsDistinctionInterface = isDistinctionInterface, ObjectRelationParentId = x.TrialId }, new