Skip to content

Commit

Permalink
Remove parent id in HierarchyHasParentFilterTranslator (#1184)
Browse files Browse the repository at this point in the history
* Remove parent id in HierarchyHasParentFilterTranslator

* Update SQL

* Update SQL

---------

Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
dexamundsen and github-actions authored Mar 3, 2025
1 parent 614e476 commit ae8ea12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ public String buildSql(SqlParams sqlParams, String tableAlias) {
parentIdFilterSql,
null,
false,
sqlParams,
parentIds.toArray(new Literal[0]));
sqlParams);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@
FROM
${HCP_condition_default}
WHERE
parent = @val0
UNION
ALL SELECT
@val1)
parent = @val0)
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,4 @@
FROM
${HCP_condition_default}
WHERE
parent IN (@val0, @val1)
UNION
ALL SELECT
@val2
UNION
ALL SELECT
@val3)
parent IN (@val0, @val1))

0 comments on commit ae8ea12

Please sign in to comment.