From efc3d46e3ae1a31794c2accf369ab38cdd55a402 Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Wed, 26 Jan 2022 17:28:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/BasePopulationInfoServiceImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/cn/com/tenlion/commonpopulation/service/basepopulationinfo/impl/BasePopulationInfoServiceImpl.java b/src/main/java/cn/com/tenlion/commonpopulation/service/basepopulationinfo/impl/BasePopulationInfoServiceImpl.java index cf94af8..75edb2d 100644 --- a/src/main/java/cn/com/tenlion/commonpopulation/service/basepopulationinfo/impl/BasePopulationInfoServiceImpl.java +++ b/src/main/java/cn/com/tenlion/commonpopulation/service/basepopulationinfo/impl/BasePopulationInfoServiceImpl.java @@ -652,10 +652,13 @@ public class BasePopulationInfoServiceImpl extends DefaultBaseService implements if(forIndex != 0 && forIndex % 5000 == 0){ System.out.println("================= PULL_COUNT_" + forIndex + " ================="); } - forIndex++; } catch (Exception e){ + Map params = new HashMap<>(8); + params.put("basePopulationInfoIds", Arrays.asList(item.getBasePopulationInfoId().split(","))); + basePopulationInfoDao.removeBasePopulationInfo(params); System.out.println(item); } + forIndex++; } }