Skip to content

Commit

Permalink
Testing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Jan 29, 2024
1 parent e1b5c15 commit 4b8c670
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/main/java/ca/bc/gov/educ/api/soam/rest/RestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -493,13 +493,13 @@ public String getSearchCriteria(final ServicesCardEntity servicesCard) throws Js

final List<SearchCriteria> criteriaMergedDeceased = new LinkedList<>();

final SearchCriteria criteriaMandD = SearchCriteria.builder().key(STATUS_CODE).operation(FilterOperation.NOT_IN).value("M,D").valueType(STRING).build();
// final SearchCriteria criteriaMandD = SearchCriteria.builder().key(STATUS_CODE).operation(FilterOperation.NOT_IN).value("M,D").valueType(STRING).build();

criteriaMergedDeceased.add(criteriaMandD);
// criteriaMergedDeceased.add(criteriaMandD);

final List<Search> searches = new LinkedList<>();
searches.add(Search.builder().condition(AND).searchCriteriaList(criteriaList).build());
searches.add(Search.builder().condition(AND).searchCriteriaList(criteriaMergedDeceased).build());
// searches.add(Search.builder().condition(AND).searchCriteriaList(criteriaMergedDeceased).build());

return this.objectMapper.writeValueAsString(searches);
}
Expand Down

0 comments on commit 4b8c670

Please sign in to comment.