zhongrj
2024-04-02 566e7986291e73051d30ee252b0ebf852b1577a7
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);
         }
      }
   }