修复查询单个ip数据的筛选条件
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -107,8 +107,7 @@ public class DruidData {
|
|||||||
List<Map<String, Object>> rsList = null;
|
List<Map<String, Object>> rsList = null;
|
||||||
try{
|
try{
|
||||||
rsList = allData.stream().
|
rsList = allData.stream().
|
||||||
filter(i->((i.get(ApplicationConfig.DRUID_SERVERIP_COLUMN_NAME).equals(ip))
|
filter(i->(i.get(ApplicationConfig.DRUID_SERVERIP_COLUMN_NAME).equals(ip)))
|
||||||
& (i.get(ApplicationConfig.DRUID_ATTACKTYPE_COLUMN_NAME).equals(attackType))))
|
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
} catch (NullPointerException e){
|
} catch (NullPointerException e){
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user