diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/resource/TResourceLandController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/resource/TResourceLandController.java index 5ddaa53..bbacbf7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/resource/TResourceLandController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/resource/TResourceLandController.java @@ -14,7 +14,6 @@ import com.ruoyi.common.utils.ServletUtils; import com.ruoyi.common.utils.StringUtils; import com.ruoyi.common.utils.pdf.PdfUtils; import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.common.utils.space.SpaceUtils; import com.ruoyi.common.utils.translation.TranslateUtils; import com.ruoyi.framework.web.service.TokenService; import com.ruoyi.resource.domain.TResourceLand; @@ -245,12 +244,6 @@ public class TResourceLandController extends BaseController return toAjax(tResourceLandService.deleteTResourceLandByFids(fids)); } - @Log(title = "空间字段置空", businessType = BusinessType.UPDATE) - @GetMapping("/clear/{fid}") - public AjaxResult clearTheGeom(@PathVariable("fid") Long fid) { - return toAjax(tResourceLandService.clearTheGeom(fid)); - } - /** * 打印地块属性 */ diff --git a/ruoyi-business/src/main/java/com/ruoyi/resource/mapper/TResourceLandMapper.java b/ruoyi-business/src/main/java/com/ruoyi/resource/mapper/TResourceLandMapper.java index 37c13d2..ea3dd26 100644 --- a/ruoyi-business/src/main/java/com/ruoyi/resource/mapper/TResourceLandMapper.java +++ b/ruoyi-business/src/main/java/com/ruoyi/resource/mapper/TResourceLandMapper.java @@ -83,11 +83,5 @@ public interface TResourceLandMapper */ public int deleteTResourceLandByFids(Long[] fids); - /** - * 清空theGeom字段 - * - * @param fid - * @return - */ - public int clearTheGeom(Long fid); + } diff --git a/ruoyi-business/src/main/java/com/ruoyi/resource/service/ITResourceLandService.java b/ruoyi-business/src/main/java/com/ruoyi/resource/service/ITResourceLandService.java index 653e7c2..d6a83a3 100644 --- a/ruoyi-business/src/main/java/com/ruoyi/resource/service/ITResourceLandService.java +++ b/ruoyi-business/src/main/java/com/ruoyi/resource/service/ITResourceLandService.java @@ -93,11 +93,4 @@ public interface ITResourceLandService */ public int deleteTResourceLandByFid(Long fid); - /** - * 清空theGeom字段 - * - * @param fid - * @return - */ - public int clearTheGeom(Long fid); } diff --git a/ruoyi-business/src/main/java/com/ruoyi/resource/service/impl/TResourceLandServiceImpl.java b/ruoyi-business/src/main/java/com/ruoyi/resource/service/impl/TResourceLandServiceImpl.java index 8aeed94..e2c5fe8 100644 --- a/ruoyi-business/src/main/java/com/ruoyi/resource/service/impl/TResourceLandServiceImpl.java +++ b/ruoyi-business/src/main/java/com/ruoyi/resource/service/impl/TResourceLandServiceImpl.java @@ -233,14 +233,5 @@ public class TResourceLandServiceImpl implements ITResourceLandService return tResourceLandMapper.deleteTResourceLandByFid(fid); } - /** - * 清空theGeom字段 - * - * @param fid - * @return - */ - @Override - public int clearTheGeom(Long fid) { - return tResourceLandMapper.clearTheGeom(fid); - } + }