From 859e96ec1e9451cb33ec638d95c2e5d406168ae2 Mon Sep 17 00:00:00 2001 From: wangxin Date: Fri, 16 Nov 2018 12:36:01 +0800 Subject: [PATCH] =?UTF-8?q?IpCfgService=E8=B0=83=E7=94=A8saveCfgIndexInfo?= =?UTF-8?q?=E7=9A=84=E6=96=B9=E6=B3=95=E6=94=B9=E6=88=90=E4=B8=8D=E5=B8=A6?= =?UTF-8?q?last=5Finsert=5Fid=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/nis/web/service/configuration/IpCfgService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/nis/web/service/configuration/IpCfgService.java b/src/main/java/com/nis/web/service/configuration/IpCfgService.java index e4032eea2..ebb6dc5a8 100644 --- a/src/main/java/com/nis/web/service/configuration/IpCfgService.java +++ b/src/main/java/com/nis/web/service/configuration/IpCfgService.java @@ -118,7 +118,7 @@ public class IpCfgService extends CrudService { batchSqlSession = sqlSessionFactory.openSession(ExecutorType.BATCH, false); for(int index = 0; index < cfgIndexInfos.size();index++){ CfgIndexInfo cfgIndexInfo = cfgIndexInfos.get(index); - ((IpCfgDao) batchSqlSession.getMapper(IpCfgDao.class)).saveCfgIndex(cfgIndexInfo); + ((IpCfgDao) batchSqlSession.getMapper(IpCfgDao.class)).saveCfgIndexForBatch(cfgIndexInfo); } batchSqlSession.commit(); }finally {