lin
2024-03-12 02f3b2a577143724b09a70cd13cd3e9256f5fc21
src/main/java/org/springblade/modules/community/service/impl/CommunityServiceImpl.java
@@ -76,6 +76,13 @@
            one.setGeom(communityExcel.getGeom());
            // 更新
            updateById(one);
         }else {
            // 新增
            CommunityEntity communityEntity = new CommunityEntity();
            communityEntity.setCode(communityExcel.getCommunityCode());
            communityEntity.setName(communityExcel.getCommunityName());
            communityEntity.setGeom(communityExcel.getGeom());
            save(communityEntity);
         }
      }
   }