zhongrj
2024-02-02 5385f7748062cc72c7b1d5c8651630751abe5a41
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);
         }
      }
   }