@@ -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; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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());
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user