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(),