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 { /** * 查询井管理 * * @param id 井管理主键 * @return 井管理 */ public ArdAlarmpointsWell selectArdAlarmpointsWellById(String id); /** * 查询井管理 * * @param wellId 井管理井号 * @return 井管理 */ public ArdAlarmpointsWell selectArdAlarmpointsWellByWellId(String wellId); /** * 查询井管理列表 * * @param ardAlarmpointsWell 井管理 * @return 井管理集合 */ public List selectArdAlarmpointsWellList(ArdAlarmpointsWell ardAlarmpointsWell); /** * * @param ardAlarmpointsWell 按井编号查询 * @return */ public List selectArdAlarmpointsWellByWellIdLike(ArdAlarmpointsWell ardAlarmpointsWell); /** * 新增井管理 * * @param ardAlarmpointsWell 井管理 * @return 结果 */ public int insertArdAlarmpointsWell(ArdAlarmpointsWell ardAlarmpointsWell); /** * 修改井管理 * * @param ardAlarmpointsWell 井管理 * @return 结果 */ public int updateArdAlarmpointsWell(ArdAlarmpointsWell ardAlarmpointsWell); /** * 修改井管理按井号 * * @param ardAlarmpointsWell 井管理 * @return 结果 */ public int updateArdAlarmpointsWellByWellId(ArdAlarmpointsWell ardAlarmpointsWell); /** * 批量删除井管理 * * @param ids 需要删除的井管理主键集合 * @return 结果 */ public int deleteArdAlarmpointsWellByIds(String[] ids); /** * 删除井管理信息 * * @param id 井管理主键 * @return 结果 */ public int deleteArdAlarmpointsWellById(String id); /** * 导入井管理数据 * * @param ardAlarmpointsWellList 井数据列表 * @param isUpdateSupport 是否更新支持,如果已存在,则进行更新数据 * @param operName 操作用户 * @return 结果 */ public String importWell(List ardAlarmpointsWellList, Boolean isUpdateSupport, String operName); /** * 校验用户是否有数据权限 * * @param userId 用户id */ public void checkWellDataScope(String userId); /** * 校验井是否允许操作 * * @param well 井信息 */ public void checkWellAllowed(ArdAlarmpointsWell well); /** * 核对井号是否唯一 * * @param well 需要核对的井 * @return 结果 */ public Boolean checkWellIdExists(ArdAlarmpointsWell well); List wellByDeptList(List deptList); ArdAlarmpointsWell wellById(String id); List wellList(List deptList); PageInfo conditionList(ArdAlarmpointsWellParam ardAlarmpointsWellParam); List wellListDept(List deptList); /** * 获取附近的井 * 刘苏义 * 2023/9/27 10:26:35 */ List getNearbyWellList(Double longitudeCenter,Double latitudeCenter, Long deptId,Integer range); /** * 查询油井动静态数据 */ Map getWellDataByWellId(String wellId, List config); Map getWellDataByPatrolplanIdAndPosition(Map para,List sysConfigResult); ArdAlarmpointsWell getWellById(String id); List> getCameraVideoLable(Long deptId,String cameraId,Float p,Float t,Float fHorFieldAngle,Float fVerFieldAngle); }