...
|
...
|
@@ -106,7 +106,7 @@ public class ElasticSearchInfoServiceImpl implements ElasticSearchInfoService { |
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
List<ElasticSearchInfo> elasticSearchInfos = elasticSearchInfoMapper.selectListByPage(elasticSearchInfo);
|
|
|
PageInfo<ElasticSearchInfo> pageInfo = new PageInfo<>(elasticSearchInfos);
|
|
|
return pageInfo.getTotal() > 0
|
|
|
return pageInfo.getTotal() >= 0
|
|
|
? new ResultJson<>("200", "查询ES服务器列表,成功!", pageInfo)
|
|
|
: new ResultJson<>("500", "查询ES服务器列表,失败!");
|
|
|
}
|
...
|
...
|
|