修改pacs 配置
continuous-integration/drone/push Build is passing Details

IRC_NewDev
hang 2024-07-09 14:20:00 +08:00
parent a98bc37045
commit e6bd7ad0ea
2 changed files with 7 additions and 2 deletions

View File

@ -21,9 +21,9 @@ namespace IRaCIS.Core.Application.ViewModel
public bool IsTestOK { get; set; }
public bool IsPACSConnect { get; set; }
//public bool IsPACSConnect { get; set; }
public bool IsTrialPACSConfirmed { get; set; }
//public bool IsTrialPACSConfirmed { get; set; }
}
@ -58,6 +58,9 @@ namespace IRaCIS.Core.Application.ViewModel
public int Port { get; set; }
public string Modality { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public bool IsPACSConnect { get; set; }
}

View File

@ -86,6 +86,8 @@ namespace IRaCIS.Core.Application.Service
// 在此处拷贝automapper 映射
var entity = await _dicomAERepository.InsertOrUpdateAsync(addOrEditDicomAE, true, verifyExp1);
await _trialRepository.UpdatePartialFromQueryAsync(t => t.Id == addOrEditDicomAE.TrialId, u => new Trial() { IsPACSConnect = addOrEditDicomAE.IsPACSConnect }, true);
return ResponseOutput.Ok(entity.Id.ToString());
}