From 2f0a186a0408cc508cef85af46abeb4f96a2ae4f Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期三, 28 四月 2021 10:07:45 +0800 Subject: [PATCH] 暂时修改实有人口导入逻辑 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java index 5df49bf..27f2053 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java @@ -255,11 +255,16 @@ index++; } //如果有错误,返回错误 + //暂时注释,等客户完成任务需要恢复 + /*if(!populationImportErrorVOList.isEmpty()){ + return R.fail(JSON.toJSONString(populationImportErrorVOList)); + } + this.saveBatch(populationDOList);*/ + + this.saveBatch(populationDOList); if(!populationImportErrorVOList.isEmpty()){ return R.fail(JSON.toJSONString(populationImportErrorVOList)); } - - this.saveBatch(populationDOList); return R.ok("共计导入实有人口数量:" + populationDOList.size()); } -- Gitblit v1.7.1