feat: Change ReconClient to fit new version Restful interface

This commit is contained in:
chenhuijun
2024-05-27 09:27:21 +08:00
parent f2562f5b40
commit 8bba77cd86
7 changed files with 22 additions and 66 deletions

View File

@@ -62,9 +62,9 @@ void ReconManager::createEmptyScan(const QString& aScanID, const QString& aPath)
}
}
void ReconManager::createScan(const QString& aScanID, const QString& aPatientID, const QString& aReferenceID, const QString& aPath)
void ReconManager::createScan(const QString& aScanID, const QString& aStudyUID,const QString& aMPPSUID, const QString& aReferenceID, const QString& aPath)
{
Scan scan{aScanID.toStdString(), aPatientID.toStdString(), aReferenceID.toStdString(), aPath.toStdString(), 1};
Scan scan{aScanID.toStdString(), aStudyUID.toStdString(), aMPPSUID.toStdString(), aReferenceID.toStdString(), aPath.toStdString(),1};
auto response = mReconClient->Create(scan);
if(response.good())
{