tangxiaobao
2021-08-26 472cc0f77f1eb9b56fe7840d26480d4a0e13c20d
实有人口导入人口社区关系修改
1个文件已修改
22 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java
@@ -752,7 +752,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -775,6 +774,7 @@
                    setMistake(mistake, vo);
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                    }
                }
                log.info("查询实有人口存在社区信息完成");
            }
@@ -1047,7 +1047,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -1070,6 +1069,7 @@
                    setDrugMistake(mistake, vo);
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                    }
                }
                log.info("查询实有人口存在社区信息完成");
            }
@@ -1342,7 +1342,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -1365,6 +1364,7 @@
                    setCorrectMistake(mistake, vo);
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                    }
                }
                log.info("查询实有人口存在社区信息完成");
            }
@@ -1637,7 +1637,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -1660,6 +1659,7 @@
                    setMajorMistake(mistake, vo);
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                    }
                }
                log.info("查询实有人口存在社区信息完成");
            }
@@ -1932,7 +1932,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -1955,6 +1954,7 @@
                    setCultMistake(mistake, vo);
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                    }
                }
                log.info("查询实有人口存在社区信息完成");
            }
@@ -2229,7 +2229,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -2253,6 +2252,7 @@
                    setRehabilitationMistake(mistake, vo);
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                    }
                }
                log.info("查询实有人口存在社区信息完成");
            }
@@ -2525,7 +2525,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -2548,6 +2547,7 @@
                    setKeyMistake(mistake, vo);
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                    }
                }
                log.info("查询实有人口存在社区信息完成");
            }
@@ -2820,7 +2820,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -2843,6 +2842,7 @@
                    setSentenceMistake(mistake, vo);
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                    }
                }
                log.info("查询实有人口存在社区信息完成");
            }
@@ -3115,7 +3115,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -3138,6 +3137,7 @@
                    setVeteransMistake(mistake, vo);
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                    }
                }
                log.info("查询实有人口存在社区信息完成");
            }
@@ -3410,7 +3410,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -3433,6 +3432,7 @@
                    setDisabilityMistake(mistake, vo);
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                    }
                }
                log.info("查询实有人口存在社区信息完成");
            }
@@ -3710,7 +3710,6 @@
                        populationDO.setLabel(Joiner.on(",").join(userTag));
                        populationDO.setCreateBy(userId);
                        savePopulationCommunityList.add(cpopulationCommunityTagsDO);
                    }
                } else {
                    // 实有人口存在于当前社区,则更新
                    ComMngPopulationCommunityTagsDO comMngPopulationCommunityTagsDO =
@@ -3734,6 +3733,7 @@
                    mistake.setMistake("该实有人口已存在于该社区,执行更新");
                    mistakes.add(mistake);
                }
                }
                log.info("查询实有人口存在社区信息完成");
            }
        } catch (Exception e) {