1:更新642的表达式结构,及添加opTime字段
2:为0x401 APP载荷特征表添加数值类表APP_TCP_SESSION_BYTE 3:更新urlreport接口 4:更新asnreport接口 5:添加iprange统计入库 6:修改配置入库时,先打印错误信息在回滚事务 7:修改配置入库打印的日志信息 8:更改通联关系app_label的数据类型为varchar 9:提交洪庆发来的trafficIpActiveStatisticDao.xml
This commit is contained in:
@@ -191,8 +191,7 @@ public class LocalLogJDBCByDruid {
|
||||
String pps = rs.getString("pps");
|
||||
ntcAsnRecord.setBps(subStr(bps));
|
||||
ntcAsnRecord.setPps(subStr(pps));
|
||||
ntcAsnRecord.setdAsn(rs.getString("d_asn"));
|
||||
ntcAsnRecord.setsAsn(rs.getString("s_asn"));
|
||||
ntcAsnRecord.setAsn(rs.getString("asn"));
|
||||
list.add(ntcAsnRecord);
|
||||
}
|
||||
logger.info("执行日志查询语句成功,sql={}", sql);
|
||||
@@ -202,10 +201,11 @@ public class LocalLogJDBCByDruid {
|
||||
return list;
|
||||
}
|
||||
|
||||
public List<String> getAllIp(String frontier) throws Exception {
|
||||
public List<String> getAllIp(Integer frontier) throws Exception {
|
||||
List<String> list = new LinkedList<>();
|
||||
try {
|
||||
String sql = "select distinct ip from ip_location_database_local where ip like '145%' and frontier='"+frontier+"'";
|
||||
// String sql = "select distinct ip from ip_location_database_local where ip like '145%' and frontier='"+frontier+"'";
|
||||
String sql = "select distinct ip from ip_location_database_local where frontier='"+frontier+"'";
|
||||
conn = getConnection();
|
||||
logger.info("连接数据中心日志库成功--------------------------");
|
||||
st = conn.createStatement();
|
||||
|
||||
Reference in New Issue
Block a user