Commit f15848d7 authored by 刘林's avatar 刘林

fix(jg):纳管率设备查询去掉脏数据

parent e6a9d268
...@@ -988,6 +988,8 @@ public class ZLDPStatisticsServiceImpl { ...@@ -988,6 +988,8 @@ public class ZLDPStatisticsServiceImpl {
String param = QueryParser.escape("true"); String param = QueryParser.escape("true");
pBuilder.must(QueryBuilders.matchQuery(IS_INTO_MANAGEMENT, param)); pBuilder.must(QueryBuilders.matchQuery(IS_INTO_MANAGEMENT, param));
boolMust.must(pBuilder); boolMust.must(pBuilder);
boolMust.must(QueryBuilders.termsQuery("EQU_LIST_CODE",
StCommonServiceImpl.getEquipmentCategory().stream().map(EquipmentCategoryDto::getCode).collect(Collectors.toList())));
builder.query(boolMust); builder.query(boolMust);
builder.sort("REC_DATE", SortOrder.DESC); builder.sort("REC_DATE", SortOrder.DESC);
......
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