Skip to content

Commit

Permalink
Merge branch 'main' into gen-1322
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachin-chaurasiya authored Oct 1, 2024
2 parents 3d99ab4 + 683193f commit 8a6f483
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ int listCountThreadsByEntityLink(
+ " SELECT te.entityLink, te.type, te.taskStatus, te.id "
+ " FROM thread_entity te "
+ " WHERE te.entityId = :entityId "
+ ") AS combined "
+ ") AS combined WHERE combined.type IS NOT NULL "
+ "GROUP BY type, taskStatus, entityLink")
@RegisterRowMapper(ThreadCountFieldMapper.class)
List<List<String>> listCountByEntityLink(
Expand Down Expand Up @@ -1639,7 +1639,7 @@ default List<List<String>> listCountThreadsByGlossaryAndTerms(
+ " AND (:toType2 IS NULL OR fr.toType LIKE CONCAT(:toType2, '.%') OR fr.toType = :toType2) "
+ " AND fr.relation = 3 "
+ " ) "
+ ") AS combined_results "
+ ") AS combined_results WHERE combined_results.type is not NULL "
+ "GROUP BY entityLink, type, taskStatus ")
@RegisterRowMapper(ThreadCountFieldMapper.class)
List<List<String>> listCountThreadsByGlossaryAndTerms(
Expand Down

0 comments on commit 8a6f483

Please sign in to comment.