From f059de0b3cfe92ba2980c8ce4c5772637c64e9d2 Mon Sep 17 00:00:00 2001 From: aijinhui <aijinhui> Date: 星期六, 23 十二月 2023 17:03:34 +0800 Subject: [PATCH] 权限 --- ard-work/src/main/java/com/ruoyi/alarmpoints/well/service/IArdAlarmpointsWellService.java | 28 ++++++++++++++++++++++++++-- 1 files changed, 26 insertions(+), 2 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 677d16f..ae2d433 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 @@ -4,6 +4,7 @@ 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; /** @@ -59,7 +60,13 @@ * @return 缁撴灉 */ public int updateArdAlarmpointsWell(ArdAlarmpointsWell ardAlarmpointsWell); - + /** + * 淇敼浜曠鐞嗘寜浜曞彿 + * + * @param ardAlarmpointsWell 浜曠鐞� + * @return 缁撴灉 + */ + public int updateArdAlarmpointsWellByWellId(ArdAlarmpointsWell ardAlarmpointsWell); /** * 鎵归噺鍒犻櫎浜曠鐞� * @@ -83,7 +90,7 @@ * @param operName 鎿嶄綔鐢ㄦ埛 * @return 缁撴灉 */ - public String importUser(List<ArdAlarmpointsWell> ardAlarmpointsWellList, Boolean isUpdateSupport, String operName); + public String importWell(List<ArdAlarmpointsWell> ardAlarmpointsWellList, Boolean isUpdateSupport, String operName); /** * 鏍¢獙鐢ㄦ埛鏄惁鏈夋暟鎹潈闄� * @@ -98,6 +105,15 @@ */ public void checkWellAllowed(ArdAlarmpointsWell well); + /** + * 鏍稿浜曞彿鏄惁鍞竴 + * + * @param well 闇�瑕佹牳瀵圭殑浜� + * @return 缁撴灉 + */ + + public Boolean checkWellIdExists(ArdAlarmpointsWell well); + List<ArdAlarmpointsWell> wellByDeptList(List<Long> deptList); ArdAlarmpointsWell wellById(String id); @@ -105,4 +121,12 @@ List<ArdAlarmpointsWell> wellList(List<Long> deptList); 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); } -- Gitblit v1.9.3