修改一版
parent
e97538015d
commit
4769baf720
|
@ -279,15 +279,11 @@ namespace IRaCIS.Core.API.Controllers
|
||||||
memoryStream.Seek(0, SeekOrigin.Begin);
|
memoryStream.Seek(0, SeekOrigin.Begin);
|
||||||
|
|
||||||
var (studyId, studyCode) = await _dicomArchiveService.ArchiveDicomStreamAsync(memoryStream, savedInfo, seriesInstanceUidList, sopInstanceUidList);
|
var (studyId, studyCode) = await _dicomArchiveService.ArchiveDicomStreamAsync(memoryStream, savedInfo, seriesInstanceUidList, sopInstanceUidList);
|
||||||
|
|
||||||
|
|
||||||
if (!archivedStudyIds.Contains(studyId))
|
if (!archivedStudyIds.Contains(studyId))
|
||||||
{
|
{
|
||||||
archivedStudyIds.Add(studyId);
|
archivedStudyIds.Add(studyId);
|
||||||
archiveResult.ArchivedDicomStudies.Add(new DicomStudyBasicDTO() { StudyCode = studyCode, Id = studyId });
|
archiveResult.ArchivedDicomStudies.Add(new DicomStudyBasicDTO() { StudyCode = studyCode, Id = studyId });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -65,8 +65,7 @@ namespace IRaCIS.Application.Services
|
||||||
x.FileName,
|
x.FileName,
|
||||||
x.UploadType,
|
x.UploadType,
|
||||||
x.Id,
|
x.Id,
|
||||||
})
|
}).ToListAsync();
|
||||||
.ToListAsync();
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,9 +19,6 @@ namespace IRaCIS.Core.Application.Service
|
||||||
|
|
||||||
CreateMap<ClinicalData, ClinicalDataView>();
|
CreateMap<ClinicalData, ClinicalDataView>();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CreateMap<PreviousPDF, PreviousPDFAddOrEdit>().ReverseMap();
|
CreateMap<PreviousPDF, PreviousPDFAddOrEdit>().ReverseMap();
|
||||||
|
|
||||||
CreateMap<PreviousPDF, PreviousPDFView>();
|
CreateMap<PreviousPDF, PreviousPDFView>();
|
||||||
|
|
Loading…
Reference in New Issue