稽查添加
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
he 2025-06-05 15:19:39 +08:00
parent 9cb6fb2a92
commit fe4df21a68
1 changed files with 14 additions and 1 deletions

View File

@ -2018,10 +2018,23 @@ namespace IRaCIS.Core.Infra.EFCore.Common
foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(DicomStudy))) foreach (var item in entitys.Where(x => x.Entity.GetType() == typeof(DicomStudy)))
{ {
var type = GetEntityAuditOpt(item); var type = GetEntityAuditOpt(item);
var extraIdentification = string.Empty;
switch (_userInfo.RequestUrl)
{
case "QCOperation/updateModality":
if (_userInfo.UserTypeEnumInt == (int)UserTypeEnum.ClinicalResearchCoordinator)
{
extraIdentification = "/2";
}
break;
}
await InsertInspection<DicomStudy>(item.Entity as DicomStudy, type, x => new InspectionConvertDTO() await InsertInspection<DicomStudy>(item.Entity as DicomStudy, type, x => new InspectionConvertDTO()
{ {
ObjectRelationParentId = x.SubjectVisitId ObjectRelationParentId = x.SubjectVisitId,
ExtraIndentification = extraIdentification
}); });
} }