Commit cd8b1363 by sunxiwang

fix

1 parent 2e911fee
......@@ -178,7 +178,7 @@ public class WeConversationArchiveServiceImpl implements IWeConversationArchiveS
builder.sort("msgtime", SortOrder.ASC);
BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
boolQueryBuilder.must(QueryBuilders.termQuery("msgtype", "text"));
//成员姓名查询
if(StringUtils.isNotEmpty(query.getUserName())){
boolQueryBuilder.must(QueryBuilders.boolQuery().must(QueryBuilders.matchQuery("fromInfo.name",query.getUserName()))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!