Skip to content

Commit

Permalink
Merge pull request #286 from fiterlatam/fix/agency
Browse files Browse the repository at this point in the history
fix for qa
  • Loading branch information
BrianMuhimbura authored Nov 20, 2023
2 parents 1beca9c + ab61a26 commit cba620c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public Collection<AgencyData> retrieveByOfficeHierarchy(final String hierarchy)
m_office mo
INNER JOIN m_office office_under ON
office_under.hierarchy LIKE CONCAT(mo.hierarchy, '%')AND office_under.hierarchy LIKE CONCAT(?, '%')
INNER JOIN m_agency ma ON ma.office_id = office_under.id
INNER JOIN m_agency ma ON ma.linked_office_id = office_under.id
GROUP BY ma.id
""";
return this.jdbcTemplate.query(sql, (rs, rowNum) -> AgencyData.instance(rs.getLong("id"), rs.getString("name")),
Expand Down

0 comments on commit cba620c

Please sign in to comment.