|  |  |  | 
|---|
|  |  |  | package com.ruoyi.alarmpoints.well.mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | 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.annotation.DataScope; | 
|---|
|  |  |  | import org.apache.ibatis.annotations.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 井管理Mapper接口 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @author 刘苏义 | 
|---|
|  |  |  | * @date 2023-03-07 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public interface ArdAlarmpointsWellMapper | 
|---|
|  |  |  | { | 
|---|
|  |  |  | public interface ArdAlarmpointsWellMapper extends BaseMapper<ArdAlarmpointsWell> { | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 查询井管理 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param id 井管理主键 | 
|---|
|  |  |  | * @return 井管理 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public ArdAlarmpointsWell selectArdAlarmpointsWellById(String id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 查询井管理 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return 井管理 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public ArdAlarmpointsWell selectArdAlarmpointsWellByWellId(String wellId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 查询井管理 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param ardAlarmpointsWell 按编号查询 | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public List selectArdAlarmpointsWellByWellIdLike(ArdAlarmpointsWell ardAlarmpointsWell); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 查询井管理列表 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param ardAlarmpointsWell 井管理 | 
|---|
|  |  |  | * @return 井管理集合 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 新增井管理 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param ardAlarmpointsWell 井管理 | 
|---|
|  |  |  | * @return 结果 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 修改井管理 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param ardAlarmpointsWell 井管理 | 
|---|
|  |  |  | * @return 结果 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public int updateArdAlarmpointsWell(ArdAlarmpointsWell ardAlarmpointsWell); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 修改井管理按井号 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param ardAlarmpointsWell 井管理 | 
|---|
|  |  |  | * @return 结果 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public int updateArdAlarmpointsWellByWellId(ArdAlarmpointsWell ardAlarmpointsWell); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 删除井管理 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param id 井管理主键 | 
|---|
|  |  |  | * @return 结果 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 批量删除井管理 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param ids 需要删除的数据主键集合 | 
|---|
|  |  |  | * @return 结果 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public int deleteArdAlarmpointsWellByIds(String[] ids); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 核对井号是否唯一 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param wellId 需要核对的井号 | 
|---|
|  |  |  | * @return 结果 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public ArdAlarmpointsWell checkWellIdExists(String wellId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ArdAlarmpointsWell> wellByPlanId(String id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | List<ArdAlarmpointsWellDeptVo> wellListDept(List<Long> deptList); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ArdAlarmpointsWell getWellDataByPatrolplanIdAndPosition(@Param("patrolplanId") String patrolplanId,@Param("longitude") Double longitude,@Param("latitude") Double latitude); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ArdAlarmpointsWell getWellById(String id); | 
|---|
|  |  |  | List<ArdAlarmpointsWell> conditionList(@Param("wellId") String wellId,@Param("deptList") List<Long> deptList); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|