From d81dfa142ef41fa9fc7d83b3661feaebd611cc07 Mon Sep 17 00:00:00 2001 From: zzl <961867786@qq.com> Date: Tue, 9 Sep 2025 17:25:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/resource/TResourceLandController.java | 7 ------- .../ruoyi/resource/mapper/TResourceLandMapper.java | 8 +------- .../ruoyi/resource/service/ITResourceLandService.java | 7 ------- .../service/impl/TResourceLandServiceImpl.java | 11 +---------- 4 files changed, 2 insertions(+), 31 deletions(-) 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); - } + }