summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduandongmei <[email protected]>2019-01-28 09:47:55 +0600
committerduandongmei <[email protected]>2019-01-28 09:47:55 +0600
commitbe5635f81fe6a7cc4c8b56a4629fef69453fbe41 (patch)
treece362e2a1a540c84134728b0301eeb1c90abbcc0
parente8ead66d5ebee4295f10097c53172a703f92ef7f (diff)
多删除了commit提交语句bug更改
-rw-r--r--src/main/java/com/nis/web/task/StatisticASNIpNumer.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/nis/web/task/StatisticASNIpNumer.java b/src/main/java/com/nis/web/task/StatisticASNIpNumer.java
index 7b5a534d7..5f712dfa6 100644
--- a/src/main/java/com/nis/web/task/StatisticASNIpNumer.java
+++ b/src/main/java/com/nis/web/task/StatisticASNIpNumer.java
@@ -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) {