zhangnaisong
2024-04-28 686c587744cf0933b4022a1b741f8f50658e2632
ard-work/src/main/java/com/ruoyi/alarmpoints/well/service/IArdAlarmpointsWellService.java
@@ -1,20 +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;
/**
 * 井管理Service接口
 *
 *
 * @author 刘苏义
 * @date 2023-03-07
 */
public interface IArdAlarmpointsWellService
public interface IArdAlarmpointsWellService
{
    /**
     * 查询井管理
     *
     *
     * @param id 井管理主键
     * @return 井管理
     */
@@ -28,7 +33,7 @@
    public ArdAlarmpointsWell selectArdAlarmpointsWellByWellId(String wellId);
    /**
     * 查询井管理列表
     *
     *
     * @param ardAlarmpointsWell 井管理
     * @return 井管理集合
     */
@@ -44,7 +49,7 @@
    /**
     * 新增井管理
     *
     *
     * @param ardAlarmpointsWell 井管理
     * @return 结果
     */
@@ -52,15 +57,21 @@
    /**
     * 修改井管理
     *
     *
     * @param ardAlarmpointsWell 井管理
     * @return 结果
     */
    public int updateArdAlarmpointsWell(ArdAlarmpointsWell ardAlarmpointsWell);
    /**
     * 修改井管理按井号
     *
     * @param ardAlarmpointsWell 井管理
     * @return 结果
     */
    public int updateArdAlarmpointsWellByWellId(ArdAlarmpointsWell ardAlarmpointsWell);
    /**
     * 批量删除井管理
     *
     *
     * @param ids 需要删除的井管理主键集合
     * @return 结果
     */
@@ -68,7 +79,7 @@
    /**
     * 删除井管理信息
     *
     *
     * @param id 井管理主键
     * @return 结果
     */
@@ -81,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);
    /**
     * 校验用户是否有数据权限
     *
@@ -96,5 +107,40 @@
     */
    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);
    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);
    List<Map<String,Object>> getCameraVideoLable(Long deptId,String cameraId,Double p,Double t,Double fHorFieldAngle,Double fVerFieldAngle);
}