Skip to content

Commit

Permalink
broker支持模糊搜索 (#332)
Browse files Browse the repository at this point in the history
* broker支持模糊搜索
  • Loading branch information
iamazy committed Dec 29, 2020
1 parent f1b83f5 commit f4c3b84
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 f4c3b84

Please sign in to comment.