From 30164211e0ac5290040d82133df526d8f504bb5f Mon Sep 17 00:00:00 2001 From: wangchao Date: Sat, 10 Oct 2020 13:37:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=AE=81=E6=95=B0=E6=8D=AE=E9=87=87?= =?UTF-8?q?=E9=9B=86=20=20=E6=89=B9=E9=87=8F=E6=96=B0=E5=A2=9E=E6=8C=89100?= =?UTF-8?q?=E5=88=86=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../screen/impl/AnScreenCollServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/AnScreenCollServiceImpl.java b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/AnScreenCollServiceImpl.java index a21953686d..41eac708e0 100644 --- a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/AnScreenCollServiceImpl.java +++ b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/screen/impl/AnScreenCollServiceImpl.java @@ -65,7 +65,7 @@ public class AnScreenCollServiceImpl implements AnScreenCollService { affectRows = communityProjectProfileDao.deleteBatch(customerId); } } - Lists.partition(formDTO.getDataList(),NumConstant.ONE_THOUSAND).forEach(list -> { + Lists.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED).forEach(list -> { communityProjectProfileDao.insertBatch(list,customerId); }); @@ -90,7 +90,7 @@ public class AnScreenCollServiceImpl implements AnScreenCollService { affectRows = pmRankDao.deleteBatch(customerId); } } - Lists.partition(formDTO.getDataList(),NumConstant.ONE_THOUSAND).forEach(list -> { + Lists.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED).forEach(list -> { pmRankDao.insertBatch(list,customerId); }); } @@ -117,7 +117,7 @@ public class AnScreenCollServiceImpl implements AnScreenCollService { } String quarterId = DateUtils.getQuarterId(formDTO.getMonthId()); String yearId = DateUtils.getYearId(formDTO.getMonthId()); - Lists.partition(formDTO.getDataList(),NumConstant.ONE_THOUSAND).forEach(list -> { + Lists.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED).forEach(list -> { pmTotalMonthlyDao.insertBatch(list, customerId, formDTO.getMonthId(), @@ -148,7 +148,7 @@ public class AnScreenCollServiceImpl implements AnScreenCollService { } String quarterId = DateUtils.getQuarterId(formDTO.getMonthId()); String yearId = DateUtils.getYearId(formDTO.getMonthId()); - Lists.partition(formDTO.getDataList(),NumConstant.ONE_THOUSAND).forEach(list -> { + Lists.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED).forEach(list -> { orgMonthlyDao.insertBatch(list, customerId, formDTO.getMonthId(), @@ -179,7 +179,7 @@ public class AnScreenCollServiceImpl implements AnScreenCollService { } String quarterId = DateUtils.getQuarterId(formDTO.getMonthId()); String yearId = DateUtils.getYearId(formDTO.getMonthId()); - Lists.partition(formDTO.getDataList(),NumConstant.ONE_THOUSAND).forEach(list -> { + Lists.partition(formDTO.getDataList(),NumConstant.ONE_HUNDRED).forEach(list -> { governMonthlyDao.insertBatch(list, customerId, formDTO.getMonthId(),