lin
2024-03-25 9f8f9d13c42ca8cdccbf351069082a5fdccef2e4
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);
         }
      }
   }