Skip to content

Commit

Permalink
Update sql alias
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoet-jh committed May 23, 2024
1 parent 03da770 commit f593907
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ private List<GrantIngestRecord> retrieveGrantUpdates(String startDate, String aw

private String buildGrantQueryString(String grant) {
return StringUtils.isEmpty(grant)
? SELECT_GRANT_SQL + "AND A.GRANT_NUMBER IS NOT NULL)"
: SELECT_GRANT_SQL + "AND A.GRANT_NUMBER = ?)";
? SELECT_GRANT_SQL + "AND EA.GRANT_NUMBER IS NOT NULL)"
: SELECT_GRANT_SQL + "AND EA.GRANT_NUMBER = ?)";
}

private List<GrantIngestRecord> retrieveFunderUpdates(Set<String> funderIds) throws SQLException {
Expand Down

0 comments on commit f593907

Please sign in to comment.