Commit c5f51e3b authored by tianyiming's avatar tianyiming

fix: 修正字段名拼写错误

parent 16623b7e
......@@ -1294,8 +1294,8 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
request.indices(StatisticalAnalysisEnum.equip.getKey());
BigDecimal pipeLong;
BoolQueryBuilder pipeLengthQuery = QueryBuilderUtils.copyBoolQuery(boolMust);
pipeLengthQuery.must(QueryBuilders.existsQuery("pipLineLength"));
SumAggregationBuilder pipeLengthAgg = AggregationBuilders.sum(countField).field("pipLineLength").missing(0);
pipeLengthQuery.must(QueryBuilders.existsQuery("pipeLength"));
SumAggregationBuilder pipeLengthAgg = AggregationBuilders.sum(countField).field("pipeLength").missing(0);
builder.aggregation(pipeLengthAgg).size(0);
request.source(builder);
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment