| New file | 
 |  |  | 
 |  |  | package com.dy.pipIrrGlobal.daoOp; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoOp.OpeTrack; | 
 |  |  | import com.dy.pipIrrGlobal.voOp.VoTrackPoint; | 
 |  |  | import org.apache.ibatis.annotations.Mapper; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  |  * @date 2024-09-24 10:08 | 
 |  |  |  * @LastEditTime 2024-09-24 10:08 | 
 |  |  |  * @Description | 
 |  |  |  */ | 
 |  |  |  | 
 |  |  | @Mapper | 
 |  |  | public interface OpeTrackMapper extends BaseMapper<OpeTrack> { | 
 |  |  |     int deleteByPrimaryKey(Long id); | 
 |  |  |  | 
 |  |  |     int insert(OpeTrack record); | 
 |  |  |  | 
 |  |  |     int insertSelective(OpeTrack record); | 
 |  |  |  | 
 |  |  |     OpeTrack selectByPrimaryKey(Long id); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKeySelective(OpeTrack record); | 
 |  |  |  | 
 |  |  |     int updateByPrimaryKey(OpeTrack record); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 批量添加巡检轨迹 | 
 |  |  |      * @param list | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     int insertTracks(List<OpeTrack> list); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 通过巡检ID查询轨迹 | 
 |  |  |      * @param inspectId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<OpeTrack> selectByInspectId(Long inspectId); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取指定巡检ID下的全部轨迹点 | 
 |  |  |      * @param inspectId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     List<VoTrackPoint> getTrackPointsById(Long inspectId); | 
 |  |  | } |