稽查修改

Test_IRC_Net8
he 2025-07-01 17:41:51 +08:00
parent e3e1d6bbb7
commit e902fe88d0
1 changed files with 6 additions and 0 deletions

View File

@ -200,15 +200,21 @@ namespace IRaCIS.Core.Infra.EFCore.Common
break;
}
var trialDicomAE =await _dbContext.TrialDicomAE.Where(t => t.TrialId == entity.Id).FirstOrDefaultAsync();
await InsertInspection<Trial>(item.Entity as Trial, type, x => new InspectionConvertDTO()
{
TrialId = x.Id,
ExtraIndentification = extraIdentification,
}, new
{
//TrialDicList = string.Join(",", trialDics)
CalledAE = trialDicomAE?.CalledAE,
IP = trialDicomAE?.IP,
Port = trialDicomAE?.Port,
IsTestOK = trialDicomAE?.IsTestOK,
ImageFormatListStr = string.Join("|", entity.ImageFormatList),
StudyNamesStr = string.Join("|", entity.StudyNameList.Where(x => x.IsChoose).Select(x => _userInfo.IsEn_Us ? x.EnName : x.Name)),