...
|
...
|
@@ -105,7 +105,7 @@ public class MaliciousIpMapperImpl extends InfluxDBQuery implements MaliciousIpM |
|
|
m.put("reason",String.valueOf(ls.get(s.getColumns().indexOf("reason"))));
|
|
|
m.put("dur",String.valueOf(ls.get(s.getColumns().indexOf("dur"))) );
|
|
|
if(s.getColumns().indexOf("createtime")>=0){
|
|
|
m.put("createtime",""+ ls.get(s.getColumns().indexOf("hbasetime"))==null?"":String.valueOf(ls.get(s.getColumns().indexOf("createtime"))));
|
|
|
m.put("createtime",""+ ls.get(s.getColumns().indexOf("createtime"))==null?"":String.valueOf(ls.get(s.getColumns().indexOf("createtime"))));
|
|
|
}
|
|
|
if(s.getColumns().indexOf("hbasetime")>=0){
|
|
|
m.put("hbasetime", ls.get(s.getColumns().indexOf("hbasetime"))==null?"":String.valueOf(ls.get(s.getColumns().indexOf("hbasetime"))));
|
...
|
...
|
|