Skip to content

Commit

Permalink
HCMPRE-2212 making facilityId in plan search a set for multiple drop …
Browse files Browse the repository at this point in the history
…down search, changes filterMap signature.
  • Loading branch information
Priyanka-eGov committed Jan 28, 2025
1 parent 06f635d commit 3ff5add
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ private String buildPlanSearchQuery(PlanSearchCriteria planSearchCriteria, List<
}
}


StringBuilder countQuery = new StringBuilder();
if (isCount) {

Expand All @@ -197,7 +196,7 @@ private String buildPlanSearchQuery(PlanSearchCriteria planSearchCriteria, List<
if (isStatusCount) {
return PLAN_STATUS_COUNT_QUERY.replace("{INTERNAL_QUERY}", builder);
}
System.out.println(preparedStmtList);

return builder.toString();
}

Expand All @@ -211,7 +210,7 @@ private String getPaginatedQuery(String query, PlanSearchCriteria planSearchCrit
// Append limit
paginatedQuery.append(" LIMIT ? ");
preparedStmtList.add(ObjectUtils.isEmpty(planSearchCriteria.getLimit()) ? config.getDefaultLimit() : planSearchCriteria.getLimit());
System.out.println(preparedStmtList);

return paginatedQuery.toString();
}

Expand Down

0 comments on commit 3ff5add

Please sign in to comment.