From d7ffba995736f181b445f93f05689a7c8575f541 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期三, 25 五月 2022 18:10:21 +0800
Subject: [PATCH] bug修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java |  144 ++++++++++++++++++++++++------------------------
 1 files changed, 72 insertions(+), 72 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 01b6c44..dbbac7e 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
@@ -1285,23 +1285,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -1310,7 +1310,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -1609,23 +1609,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -1634,7 +1634,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -1933,23 +1933,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -1958,7 +1958,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -2257,23 +2257,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -2282,7 +2282,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -2583,23 +2583,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -2608,7 +2608,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -2906,23 +2906,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -2931,7 +2931,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -3229,23 +3229,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -3254,7 +3254,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -3552,23 +3552,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -3577,7 +3577,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -3875,23 +3875,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -3900,7 +3900,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -4203,23 +4203,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -4228,7 +4228,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -4525,23 +4525,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -4550,7 +4550,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");
@@ -4846,23 +4846,23 @@
         if (!houseList.isEmpty()) {
             log.info("执行数据库导入房屋");
             comMngPopulationHouseDAO.insertAll(houseList);
-            log.info("执行数据库导入房屋完成");
+            log.info("数据库导入房屋完成");
         }
         if (!saveList.isEmpty()) {
             log.info("执行数据库导入人口");
             this.baseMapper.insertAll(saveList);
-            log.info("执行数据库导入人口完成");
+            log.info("数据库导入人口完成");
         }
         if (!updateList.isEmpty()) {
             log.info("执行数据库更新人口");
-            this.baseMapper.updateAll(updateList);
+            this.updateBatchById(updateList);
             // this.updateBatchById(updateList);
-            log.info("执行数据库更新人口完成");
+            log.info("数据库更新人口完成");
         }
         if (!houseUserList.isEmpty()) {
             log.info("执行数据库导入人口房屋关系");
             comMngPopulationHouseUserService.saveBatch(houseUserList);
-            log.info("执行数据库导入人口房屋关系完成");
+            log.info("数据库导入人口房屋关系完成");
         }
         if (!savePopulationCommunityList.isEmpty()) {
             log.info("执行数据库导入人口社区关系");
@@ -4871,7 +4871,7 @@
         }
         if (!updatePopulationCommunityList.isEmpty()) {
             log.info("执行数据库更新人口社区关系");
-            comMngPopulationCommunityTagsDAO.updateAll(updatePopulationCommunityList);
+            comMngPopulationCommunityTagsService.updateBatchById(updatePopulationCommunityList);
             log.info("数据库更新人口社区关系完成");
         }
         log.info("执行数据库导入完成");

--
Gitblit v1.7.1