comparison OrthancServer/Sources/ServerJobs/ArchiveJob.cpp @ 5850:1980354c8113 find-refactoring

add level of interest to StatelessDatabaseOperations::LookupAttachment()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Oct 2024 15:03:32 +0000
parents f7adfb22e20e
children
comparison
equal deleted inserted replaced
5849:0f4345cbe558 5850:1980354c8113
539 { 539 {
540 if (level_ == ArchiveResourceType_Instance) 540 if (level_ == ArchiveResourceType_Instance)
541 { 541 {
542 FileInfo tmp; 542 FileInfo tmp;
543 int64_t revision; // ignored 543 int64_t revision; // ignored
544 if (index.LookupAttachment(tmp, revision, id, FileContentType_Dicom)) 544 if (index.LookupAttachment(tmp, revision, ResourceType_Instance, id, FileContentType_Dicom))
545 { 545 {
546 instances_.push_back(Instance(id, tmp.GetUncompressedSize())); 546 instances_.push_back(Instance(id, tmp.GetUncompressedSize()));
547 } 547 }
548 } 548 }
549 else 549 else