clhq-postgres-module 1.1.0-alpha.127 → 1.1.0-alpha.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/postgres.module.js
CHANGED
|
@@ -81,12 +81,7 @@ let SceneRepository = class SceneRepository extends base_repository_1.BaseReposi
|
|
|
81
81
|
});
|
|
82
82
|
}
|
|
83
83
|
async updateThumbnailStatus(ids, status) {
|
|
84
|
-
await this.sceneRepository
|
|
85
|
-
.createQueryBuilder()
|
|
86
|
-
.update()
|
|
87
|
-
.set({ thumbnailStatus: status })
|
|
88
|
-
.where('id IN (:...ids)', { ids })
|
|
89
|
-
.execute();
|
|
84
|
+
await this.sceneRepository.update(ids, { thumbnailStatus: status });
|
|
90
85
|
}
|
|
91
86
|
async getNextSortOrder(projectId) {
|
|
92
87
|
const result = await this.sceneRepository
|