修改pacs 稽查配置
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
32cd6e0c74
commit
bdb48f93bc
|
@ -42,7 +42,7 @@ namespace IRaCIS.Core.Application
|
|||
IRepository<SubjectVisit> _subjectVisitRepository,
|
||||
IRepository<Enroll> _enrollRepository,
|
||||
IRepository<TrialStateChange> _trialStateChangeRepository,
|
||||
IRepository<ReadingTableQuestionTrial> _readingTableQuestionTrialRepository,
|
||||
IRepository<ReadingTableQuestionTrial> _readingTableQuestionTrialRepository, IRepository<TrialDicomAE> _dicomAERepository,
|
||||
IMapper _mapper, IUserInfo _userInfo, IStringLocalizer _localizer, IFusionCache _fusionCache) : BaseService, ITrialConfigService
|
||||
{
|
||||
|
||||
|
@ -1150,6 +1150,9 @@ namespace IRaCIS.Core.Application
|
|||
trialInfo.IsPACSConnect = trialConfig.IsPACSConnect;
|
||||
trialInfo.IsTrialPACSConfirmed = trialConfig.IsTrialPACSConfirmed;
|
||||
trialInfo.UpdateTime = DateTime.Now;
|
||||
|
||||
await _dicomAERepository.DeleteFromQueryAsync(t => t.TrialId == trialConfig.TrialId);
|
||||
|
||||
await _trialRepository.SaveChangesAsync();
|
||||
|
||||
return ResponseOutput.Ok();
|
||||
|
|
|
@ -102,6 +102,7 @@ namespace IRaCIS.Core.Application.Service
|
|||
}
|
||||
else
|
||||
{
|
||||
|
||||
return ResponseOutput.Ok();
|
||||
}
|
||||
|
||||
|
|
|
@ -200,7 +200,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
break;
|
||||
}
|
||||
|
||||
var trialDicomAE =await _dbContext.TrialDicomAE.Where(t => t.TrialId == entity.Id).FirstOrDefaultAsync();
|
||||
//var trialDicomAE = await _dbContext.TrialDicomAE.Where(t => t.TrialId == entity.Id).FirstOrDefaultAsync();
|
||||
|
||||
await InsertInspection<Trial>(item.Entity as Trial, type, x => new InspectionConvertDTO()
|
||||
{
|
||||
|
@ -211,11 +211,10 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
{
|
||||
//TrialDicList = string.Join(",", trialDics)
|
||||
|
||||
|
||||
CalledAE = trialDicomAE?.CalledAE,
|
||||
IP = trialDicomAE?.IP,
|
||||
Port = trialDicomAE?.Port,
|
||||
IsTestOK = trialDicomAE?.IsTestOK,
|
||||
//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)),
|
||||
|
||||
|
@ -384,6 +383,7 @@ namespace IRaCIS.Core.Infra.EFCore.Common
|
|||
|
||||
await InsertInspection<TrialDicomAE>(entity, type, x => new InspectionConvertDTO()
|
||||
{
|
||||
IsDistinctionInterface = false
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue