From 72f259516b487d05978ede75b10782a18f3b698b Mon Sep 17 00:00:00 2001 From: greysonfang Date: Wed, 4 Dec 2024 15:35:39 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=9F=A5=E8=AF=A2=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=8E=A5=E5=8F=A3=E4=BC=98=E5=8C=96=20#11276?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/kotlin/com/tencent/devops/project/dao/ProjectDao.kt | 2 +- .../devops/project/service/impl/AbsProjectServiceImpl.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/dao/ProjectDao.kt b/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/dao/ProjectDao.kt index d81cca4f897..4a1d18dbca1 100644 --- a/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/dao/ProjectDao.kt +++ b/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/dao/ProjectDao.kt @@ -196,7 +196,7 @@ class ProjectDao { ) } } - queryRemoteDevFlag?.let { + if (queryRemoteDevFlag == true) { conditions.add(JooqUtils.jsonExtractAny(PROPERTIES, "\$.remotedev").isTrue) } } diff --git a/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/service/impl/AbsProjectServiceImpl.kt b/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/service/impl/AbsProjectServiceImpl.kt index 1d70f5eb718..31bed594fb2 100644 --- a/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/service/impl/AbsProjectServiceImpl.kt +++ b/src/backend/ci/core/project/biz-project/src/main/kotlin/com/tencent/devops/project/service/impl/AbsProjectServiceImpl.kt @@ -1044,6 +1044,7 @@ abstract class AbsProjectServiceImpl @Autowired constructor( limit: Int, offset: Int ): List { + logger.info("list projects by condition:$projectConditionDTO|$limit|$offset") return projectDao.listProjectsByCondition( dslContext = dslContext, projectConditionDTO = projectConditionDTO,