From f20121961cdba807f7c3aad6fcea68736fcdb3e7 Mon Sep 17 00:00:00 2001 From: "CHIN\\a5566" Date: Mon, 14 Aug 2023 14:40:07 +0800 Subject: [PATCH] fix: typo --- api-sql/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js | 2 +- api-sql/dicom-web/controller/WADO-RS/service/WADO-RS.service.js | 2 +- api-sql/dicom-web/controller/WADO-RS/service/WADOZip.js | 2 +- models/sql/init.js | 2 +- models/sql/models/{instance.mode.js => instance.model.js} | 0 models/sql/models/study.model.js | 2 +- models/sql/po/instance.po.js | 2 +- 7 files changed, 6 insertions(+), 6 deletions(-) rename models/sql/models/{instance.mode.js => instance.model.js} (100%) diff --git a/api-sql/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js b/api-sql/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js index 461158bb..fdedc2eb 100644 --- a/api-sql/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js +++ b/api-sql/dicom-web/controller/QIDO-RS/service/QIDO-RS.service.js @@ -10,7 +10,7 @@ const { } = require("@error/dicom-web-service"); const { StudyModel } = require("@models/sql/models/study.model"); const { SeriesModel } = require("@models/sql/models/series.model"); -const { InstanceModel } = require("@models/sql/models/instance.mode"); +const { InstanceModel } = require("@models/sql/models/instance.model"); const { PatientModel } = require("@models/sql/models/patient.model"); diff --git a/api-sql/dicom-web/controller/WADO-RS/service/WADO-RS.service.js b/api-sql/dicom-web/controller/WADO-RS/service/WADO-RS.service.js index 6841ebb3..06d39d99 100644 --- a/api-sql/dicom-web/controller/WADO-RS/service/WADO-RS.service.js +++ b/api-sql/dicom-web/controller/WADO-RS/service/WADO-RS.service.js @@ -7,7 +7,7 @@ const { raccoonConfig } = require("@root/config-class"); const { JSONPath } = require("jsonpath-plus"); const { DicomWebService } = require("@root/api/dicom-web/service/dicom-web.service"); const { logger } = require("@root/utils/logs/log"); -const { InstanceModel } = require("@models/sql/models/instance.mode"); +const { InstanceModel } = require("@models/sql/models/instance.model"); const { StudyModel } = require("@models/sql/models/study.model"); const { SeriesModel } = require("@models/sql/models/series.model"); diff --git a/api-sql/dicom-web/controller/WADO-RS/service/WADOZip.js b/api-sql/dicom-web/controller/WADO-RS/service/WADOZip.js index ca7d2f11..1fd58baf 100644 --- a/api-sql/dicom-web/controller/WADO-RS/service/WADOZip.js +++ b/api-sql/dicom-web/controller/WADO-RS/service/WADOZip.js @@ -3,7 +3,7 @@ const wadoService = require("./WADO-RS.service"); const path = require("path"); const { StudyModel } = require("@models/sql/models/study.model"); const { SeriesModel } = require("@models/sql/models/series.model"); -const { InstanceModel } = require("@models/sql/models/instance.mode"); +const { InstanceModel } = require("@models/sql/models/instance.model"); class WADOZip { constructor(iParam, iRes) { diff --git a/models/sql/init.js b/models/sql/init.js index e9b957b3..cb9cde87 100644 --- a/models/sql/init.js +++ b/models/sql/init.js @@ -2,7 +2,7 @@ const { PersonNameModel } = require("./models/personName.model"); const { PatientModel } = require("./models/patient.model"); const { StudyModel } = require("./models/study.model"); const { SeriesModel } = require("./models/series.model"); -const { InstanceModel } = require("./models/instance.mode"); +const { InstanceModel } = require("./models/instance.model"); const { DicomBulkDataModel } = require("./models/dicomBulkData.model"); const { raccoonConfig } = require("@root/config-class"); diff --git a/models/sql/models/instance.mode.js b/models/sql/models/instance.model.js similarity index 100% rename from models/sql/models/instance.mode.js rename to models/sql/models/instance.model.js diff --git a/models/sql/models/study.model.js b/models/sql/models/study.model.js index e343da3c..d21adf07 100644 --- a/models/sql/models/study.model.js +++ b/models/sql/models/study.model.js @@ -4,7 +4,7 @@ const { vrTypeMapping } = require("../vrTypeMapping"); const { SeriesModel } = require("./series.model"); const _ = require("lodash"); const { StudyQueryBuilder } = require("@root/api-sql/dicom-web/controller/QIDO-RS/service/querybuilder"); -const { InstanceModel } = require("./instance.mode"); +const { InstanceModel } = require("./instance.model"); const { dictionary } = require("@models/DICOM/dicom-tags-dic"); const { getStoreDicomFullPathGroup } = require("@models/mongodb/service"); diff --git a/models/sql/po/instance.po.js b/models/sql/po/instance.po.js index 71be7139..490daa13 100644 --- a/models/sql/po/instance.po.js +++ b/models/sql/po/instance.po.js @@ -1,7 +1,7 @@ const moment = require("moment"); const _ = require("lodash"); const { PersonNameModel } = require("../models/personName.model"); -const { InstanceModel } = require("../models/instance.mode"); +const { InstanceModel } = require("../models/instance.model"); const { tagsNeedStore } = require("@models/DICOM/dicom-tags-mapping"); const { DicomCodeModel } = require("../models/dicomCode.model");