springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngPopulationServiceImpl.java
@@ -289,7 +289,7 @@ comMngPopulationDO.setVillageName(comMngVillageDO.getGroupAt()); populationDOList.add(comMngPopulationDO); }); //this.saveBatch(populationDOList); this.saveBatch(populationDOList); return R.ok("共计导入实有人口数量:" + populationDOList.size()); } @@ -322,4 +322,18 @@ } return R.ok(); } /** * 批量删除实有人口 * @param Ids * @return */ @Override public R deletePopulations(List<Long> Ids) { int delete = populationDAO.deleteBatchIds(Ids); if (delete > 0) { return R.ok(); } return R.fail(); } }