多删除了commit提交语句bug更改

This commit is contained in:
duandongmei
2019-01-28 09:47:55 +06:00
parent e8ead66d5e
commit be5635f81f

View File

@@ -114,6 +114,7 @@ public class StatisticASNIpNumer {
batchSqlSession = sqlSessionFactory.openSession(ExecutorType.BATCH, true);
for(Entry<Integer,Map<String,Long>> e: asnNumerMap.entrySet()) {
((AsnGroupInfoDao) batchSqlSession.getMapper(AsnGroupInfoDao.class)).updateIpNum(e.getValue().get("v4"),e.getValue().get("v6"),e.getKey());
batchSqlSession.commit();
index++;
}
}catch (Exception e) {