Merge branch '中心影像_Test环境' of http://192.168.1.2:8033/IRaCIS_Core_Api into 中心影像_Test环境
commit
7a383a3fa5
|
@ -237,7 +237,6 @@ namespace IRaCIS.Core.Application.Service.ImageAndDoc
|
|||
|
||||
var study = await _dicomstudyRepository.FirstOrDefaultAsync(t => t.Id == studyId);
|
||||
|
||||
//_mapper.Map(incommand.Study, study);
|
||||
|
||||
//特殊处理逻辑
|
||||
study.Modalities = string.Join("、", incommand.Study.SeriesList.Select(t => t.Modality).Union(study.Modalities.Split("、", StringSplitOptions.RemoveEmptyEntries)).Distinct());
|
||||
|
|
|
@ -12,7 +12,8 @@ namespace IRaCIS.Core.Application.Service
|
|||
{
|
||||
public ImageAndDocConfig()
|
||||
{
|
||||
CreateMap<AddOrUpdateStudyDto, DicomStudy>();
|
||||
CreateMap<AddOrUpdateStudyDto, DicomStudy>()
|
||||
.ForMember(d => d.SeriesList, u => u.Ignore());
|
||||
CreateMap<AddOrUpdateSeriesDto, DicomSeries>();
|
||||
CreateMap<AddInstanceDto, DicomInstance>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue