From be5635f81fe6a7cc4c8b56a4629fef69453fbe41 Mon Sep 17 00:00:00 2001 From: duandongmei Date: Mon, 28 Jan 2019 09:47:55 +0600 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E5=88=A0=E9=99=A4=E4=BA=86commit?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=AF=AD=E5=8F=A5bug=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/nis/web/task/StatisticASNIpNumer.java | 1 + 1 file changed, 1 insertion(+) 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> 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) {