From 86a4c7ca3512cbe8b8d5cf9479174bfceead10db Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期三, 27 九月 2023 11:09:32 +0800 Subject: [PATCH] 优化获取附近井接口 --- ard-work/src/main/java/com/ruoyi/alarmpoints/well/service/IArdAlarmpointsWellService.java | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/ard-work/src/main/java/com/ruoyi/alarmpoints/well/service/IArdAlarmpointsWellService.java b/ard-work/src/main/java/com/ruoyi/alarmpoints/well/service/IArdAlarmpointsWellService.java index 0f3e536..364225f 100644 --- a/ard-work/src/main/java/com/ruoyi/alarmpoints/well/service/IArdAlarmpointsWellService.java +++ b/ard-work/src/main/java/com/ruoyi/alarmpoints/well/service/IArdAlarmpointsWellService.java @@ -2,7 +2,9 @@ import java.util.List; +import com.github.pagehelper.PageInfo; import com.ruoyi.alarmpoints.well.domain.ArdAlarmpointsWell; +import com.ruoyi.alarmpoints.well.domain.ArdAlarmpointsWellDeptVo; import com.ruoyi.alarmpoints.well.domain.ArdAlarmpointsWellParam; /** @@ -97,11 +99,28 @@ */ public void checkWellAllowed(ArdAlarmpointsWell well); + /** + * 鏍稿浜曞彿鏄惁鍞竴 + * + * @param well 闇�瑕佹牳瀵圭殑浜� + * @return 缁撴灉 + */ + + public Boolean checkWellIdExists(ArdAlarmpointsWell well); + List<ArdAlarmpointsWell> wellByDeptList(List<Long> deptList); ArdAlarmpointsWell wellById(String id); List<ArdAlarmpointsWell> wellList(List<Long> deptList); - List<ArdAlarmpointsWell> conditionList(ArdAlarmpointsWellParam ardAlarmpointsWellParam); + PageInfo<ArdAlarmpointsWell> conditionList(ArdAlarmpointsWellParam ardAlarmpointsWellParam); + + List<ArdAlarmpointsWellDeptVo> wellListDept(List<Long> deptList); + /** + * 鑾峰彇闄勮繎鐨勪簳 + * 鍒樿嫃涔� + * 2023/9/27 10:26:35 + */ + List<ArdAlarmpointsWell> getNearbyWellList(ArdAlarmpointsWell ardAlarmpointsWell,Integer range); } -- Gitblit v1.9.3