Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#2715 from TencentBlueKing/3.7.x
Browse files Browse the repository at this point in the history
fix: get_public_script_version_list公共脚本接口传入业务脚本id,能返回业务脚本版本列表,不符合API预期 TencentBlueKing#2712
  • Loading branch information
wangyu096 authored Dec 29, 2023
2 parents b49029f + ebe7f49 commit ef18c64
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ private List<Condition> buildScriptConditionList(ScriptQuery scriptQuery,
if (scriptQuery != null) {
if (StringUtils.isNotBlank(scriptQuery.getId())) {
conditions.add(TB_SCRIPT.ID.eq(scriptQuery.getId()));
return conditions;
} else if (CollectionUtils.isNotEmpty(scriptQuery.getIds())) {
if (scriptQuery.getIds().size() == 1) {
conditions.add(TB_SCRIPT.ID.eq(scriptQuery.getIds().get(0)));
Expand Down

0 comments on commit ef18c64

Please sign in to comment.