Commit e458f1cc authored by suhuiguang's avatar suhuiguang

feat(综合搜索):数据同步调整

1.后续业务编辑评分使用设备编辑、装置编辑
parent 9c405b21
...@@ -1536,7 +1536,7 @@ public class DataHandlerServiceImpl { ...@@ -1536,7 +1536,7 @@ public class DataHandlerServiceImpl {
} }
return esEquipmentInfo; return esEquipmentInfo;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
esEquipmentInfos.remove(null); esEquipmentInfos = esEquipmentInfos.stream().filter(e-> StringUtils.isNotEmpty(e.getSEQUENCE_NBR())).collect(Collectors.toList());
if(!esEquipmentInfos.isEmpty()){ if(!esEquipmentInfos.isEmpty()){
esEquipmentDao.saveAll(esEquipmentInfos); esEquipmentDao.saveAll(esEquipmentInfos);
} }
......
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