From 7019f217c9b986a465a8f3f82d0df8d9a9c3d6e1 Mon Sep 17 00:00:00 2001 From: aijinhui <aijinhui> Date: 星期三, 28 二月 2024 12:03:18 +0800 Subject: [PATCH] 兴趣点 --- ard-work/src/main/java/com/ruoyi/alarmpoints/well/service/IArdAlarmpointsWellService.java | 59 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 48 insertions(+), 11 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..71a3dd9 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 @@ -1,21 +1,25 @@ package com.ruoyi.alarmpoints.well.service; import java.util.List; +import java.util.Map; +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; +import com.ruoyi.common.core.domain.entity.SysConfig; /** * 浜曠鐞哠ervice鎺ュ彛 - * + * * @author 鍒樿嫃涔� * @date 2023-03-07 */ -public interface IArdAlarmpointsWellService +public interface IArdAlarmpointsWellService { /** * 鏌ヨ浜曠鐞� - * + * * @param id 浜曠鐞嗕富閿� * @return 浜曠鐞� */ @@ -29,7 +33,7 @@ public ArdAlarmpointsWell selectArdAlarmpointsWellByWellId(String wellId); /** * 鏌ヨ浜曠鐞嗗垪琛� - * + * * @param ardAlarmpointsWell 浜曠鐞� * @return 浜曠鐞嗛泦鍚� */ @@ -45,7 +49,7 @@ /** * 鏂板浜曠鐞� - * + * * @param ardAlarmpointsWell 浜曠鐞� * @return 缁撴灉 */ @@ -53,15 +57,21 @@ /** * 淇敼浜曠鐞� - * + * * @param ardAlarmpointsWell 浜曠鐞� * @return 缁撴灉 */ public int updateArdAlarmpointsWell(ArdAlarmpointsWell ardAlarmpointsWell); - + /** + * 淇敼浜曠鐞嗘寜浜曞彿 + * + * @param ardAlarmpointsWell 浜曠鐞� + * @return 缁撴灉 + */ + public int updateArdAlarmpointsWellByWellId(ArdAlarmpointsWell ardAlarmpointsWell); /** * 鎵归噺鍒犻櫎浜曠鐞� - * + * * @param ids 闇�瑕佸垹闄ょ殑浜曠鐞嗕富閿泦鍚� * @return 缁撴灉 */ @@ -69,7 +79,7 @@ /** * 鍒犻櫎浜曠鐞嗕俊鎭� - * + * * @param id 浜曠鐞嗕富閿� * @return 缁撴灉 */ @@ -82,7 +92,7 @@ * @param operName 鎿嶄綔鐢ㄦ埛 * @return 缁撴灉 */ - public String importUser(List<ArdAlarmpointsWell> ardAlarmpointsWellList, Boolean isUpdateSupport, String operName); + public String importWell(List<ArdAlarmpointsWell> ardAlarmpointsWellList, Boolean isUpdateSupport, String operName); /** * 鏍¢獙鐢ㄦ埛鏄惁鏈夋暟鎹潈闄� * @@ -97,11 +107,38 @@ */ 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(Double longitudeCenter,Double latitudeCenter, Long deptId,Integer range); + + + /** + * 鏌ヨ娌逛簳鍔ㄩ潤鎬佹暟鎹� + */ + Map<String,Object> getWellDataByWellId(String wellId, List<SysConfig> config); + + Map<String,Object> getWellDataByPatrolplanIdAndPosition(Map<String,Object> para,List<SysConfig> sysConfigResult); + + ArdAlarmpointsWell getWellById(String id); } -- Gitblit v1.9.3