Compare commits
No commits in common. "96c8b5d7f8f870840cfde6aac33bad264d37f4ad" and "11d5722f469dfaca2823f48c6d27b64e44c266a5" have entirely different histories.
96c8b5d7f8
...
11d5722f46
|
|
@ -47,8 +47,6 @@ namespace IRaCIS.Core.SCP.Service
|
||||||
|
|
||||||
private List<Guid> _SCPStudyIdList { get; set; } = new List<Guid>();
|
private List<Guid> _SCPStudyIdList { get; set; } = new List<Guid>();
|
||||||
|
|
||||||
private List<string> _StudyInstanceUIdList { get; set; } = new List<string>();
|
|
||||||
|
|
||||||
private SCPImageUpload _upload { get; set; }
|
private SCPImageUpload _upload { get; set; }
|
||||||
|
|
||||||
public HospitalGroup CurrentHospitalGroup { get; set; }
|
public HospitalGroup CurrentHospitalGroup { get; set; }
|
||||||
|
|
@ -169,7 +167,7 @@ namespace IRaCIS.Core.SCP.Service
|
||||||
var _SCPImageUploadRepository = _serviceProvider.GetService<IRepository<SCPImageUpload>>();
|
var _SCPImageUploadRepository = _serviceProvider.GetService<IRepository<SCPImageUpload>>();
|
||||||
|
|
||||||
_upload.EndTime = DateTime.Now;
|
_upload.EndTime = DateTime.Now;
|
||||||
_upload.StudyCount = _StudyInstanceUIdList.Count;
|
_upload.StudyCount = _SCPStudyIdList.Count;
|
||||||
|
|
||||||
//可能是测试echo 导致记录了
|
//可能是测试echo 导致记录了
|
||||||
await _SCPImageUploadRepository.AddAsync(_upload, _upload.FileCount > 0 ? true : false);
|
await _SCPImageUploadRepository.AddAsync(_upload, _upload.FileCount > 0 ? true : false);
|
||||||
|
|
@ -285,11 +283,6 @@ namespace IRaCIS.Core.SCP.Service
|
||||||
return new DicomCStoreResponse(request, DicomStatus.Success);
|
return new DicomCStoreResponse(request, DicomStatus.Success);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_StudyInstanceUIdList.Contains(studyInstanceUid))
|
|
||||||
{
|
|
||||||
_StudyInstanceUIdList.Add(studyInstanceUid);
|
|
||||||
}
|
|
||||||
|
|
||||||
Guid seriesId = IdentifierHelper.CreateGuid(studyInstanceUid, seriesInstanceUid);
|
Guid seriesId = IdentifierHelper.CreateGuid(studyInstanceUid, seriesInstanceUid);
|
||||||
Guid instanceId = IdentifierHelper.CreateGuid(studyInstanceUid, seriesInstanceUid, sopInstanceUid);
|
Guid instanceId = IdentifierHelper.CreateGuid(studyInstanceUid, seriesInstanceUid, sopInstanceUid);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue