Skip to content

Commit

Permalink
feat:查询项目接口优化 TencentBlueKing#11276
Browse files Browse the repository at this point in the history
  • Loading branch information
fcfang123 committed Dec 3, 2024
1 parent 7993fdf commit eefb6d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ data class ProjectConditionDTO(
@get:Schema(title = "是否启用")
val enabled: Boolean? = null,
@get:Schema(title = "渠道代码")
val channelCode: String? = null
val channelCode: String? = null,
@get:Schema(title = "remoteDev相关")
val queryRemoteDevFlag: Boolean? = null
)
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ class ProjectDao {
)
}
}
queryRemoteDevFlag?.let {
conditions.add(JooqUtils.jsonExtractAny<Boolean>(PROPERTIES, "\$.remotedev").isTrue)
}
}
}
return conditions
Expand Down

0 comments on commit eefb6d5

Please sign in to comment.