Skip to content

Commit

Permalink
broker支持模糊搜索
Browse files Browse the repository at this point in the history
  • Loading branch information
iamazy committed Dec 28, 2020
1 parent 520e8db commit d4f7c1b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public class QBroker implements Query {

private String keyword;

private Boolean fuzzy;

@Deprecated
private List<Integer> brokerGroupIds;

Expand Down Expand Up @@ -116,4 +118,11 @@ public void setInBrokerIds(List<Integer> inBrokerIds) {
this.inBrokerIds = inBrokerIds;
}

public Boolean getFuzzy() {
return fuzzy;
}

public void setFuzzy(Boolean fuzzy) {
this.fuzzy = fuzzy;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ private BrokerQuery brokerQueryConvert(QBroker query){
brokerQuery.setIp(query.getIp());
brokerQuery.setKeyword(query.getKeyword());
brokerQuery.setBrokerList(query.getInBrokerIds());
brokerQuery.setFuzzy(query.getFuzzy());
}
return brokerQuery;
}
Expand Down

0 comments on commit d4f7c1b

Please sign in to comment.