added queries

This commit is contained in:
hannathkadher
2025-01-08 12:48:06 +04:00
parent 403dae5a21
commit 5e31529f8b
2 changed files with 2 additions and 1 deletions
@@ -125,7 +125,9 @@ export class SpaceModelService {
.createQueryBuilder('spaceModel')
.leftJoinAndSelect('spaceModel.subspaceModels', 'subspaceModels')
.leftJoinAndSelect('spaceModel.tags', 'tags')
.leftJoinAndSelect('tags.product', 'spaceTagproduct')
.leftJoinAndSelect('subspaceModels.tags', 'subspaceModelTags')
.leftJoinAndSelect('subspaceModelTags.product', 'subspaceTagproduct')
.where('spaceModel.disabled = :disabled', { disabled: false })
.andWhere('spaceModel.project = :projectUuid', {
projectUuid: param.projectUuid,
@@ -123,7 +123,6 @@ export class SubSpaceModelService {
};
try {
for (const subspace of subspaceDtos) {
console.log(subspace.action);
switch (subspace.action) {
case ModifyAction.ADD:
const subspaceModel = await this.handleAddAction(