fix:79084
This commit is contained in:
+3
@@ -887,6 +887,9 @@ public class LawsHomeSearchServiceImpl implements ILawsHomeSearchService {
|
|||||||
JSONObject object = jeroElasticsearchTemplate.buildBoolQuery(null,null,queryMapJson);
|
JSONObject object = jeroElasticsearchTemplate.buildBoolQuery(null,null,queryMapJson);
|
||||||
jsonObject.put("query",object);
|
jsonObject.put("query",object);
|
||||||
}
|
}
|
||||||
|
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||||
|
JSONObject jsonObjectShould = getJsonObject(loginUser);
|
||||||
|
jsonObject.put("query",jsonObjectShould);
|
||||||
|
|
||||||
//2. 数据查询
|
//2. 数据查询
|
||||||
JSONObject search = jeroElasticsearchTemplate.search(HomeSearchEnum.INDEX_NAME_DOCUMENT_ZQ.getValue(), HomeSearchEnum.TYPE_NAME_DOCUMENT_ZQ.getValue(), jsonObject);
|
JSONObject search = jeroElasticsearchTemplate.search(HomeSearchEnum.INDEX_NAME_DOCUMENT_ZQ.getValue(), HomeSearchEnum.TYPE_NAME_DOCUMENT_ZQ.getValue(), jsonObject);
|
||||||
|
|||||||
Reference in New Issue
Block a user