Skip to content

Commit

Permalink
Plan config name-implemented fuzzy search
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishi-egov committed Aug 29, 2024
1 parent 2705fed commit cd48628
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ private String buildPlanConfigSearchQuery(PlanConfigurationSearchCriteria criter

if (criteria.getName() != null) {
addClauseIfRequired(preparedStmtList, builder);
builder.append(" pc.name = ?");
preparedStmtList.add(criteria.getName());
builder.append(" pc.name LIKE ?");
preparedStmtList.add(criteria.getName() + '%');
}

if (criteria.getStatus() != null) {
Expand Down

0 comments on commit cd48628

Please sign in to comment.