...
|
...
|
@@ -78,7 +78,7 @@ public class PageAggregationHelper { |
|
|
IAggregation customizeAggregation = aggregationFactory.getCustomizeTagAggregation(paramMap);
|
|
|
List<Map<String, Object>> customTagList = (List<Map<String, Object>>) this.getAggregationResponse(customizeAggregation, paramMap);
|
|
|
JSONObject result = new JSONObject();
|
|
|
result.put("customize_tag", CollectionUtils.isEmpty(customTagList) ? new ArrayList<>() : customTagList.get(0));
|
|
|
result.put("customize_tag", CollectionUtils.isEmpty(customTagList) ? new ArrayList<>() : SearchCollectionUtils.safeSubList(customTagList,0,1));
|
|
|
result.put("customize_tag_new", CollectionUtils.isEmpty(customTagList) ? new ArrayList<>() : customTagList);
|
|
|
return result;
|
|
|
} catch (Exception e) {
|
...
|
...
|
|