package com.cmvr.inspection.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cmvr.inspection.domain.InspectionWaypoint;
import com.cmvr.inspection.domain.vo.InspectionWaypointVo;

/**
 * 巡检点位Service接口
 * 
 * @author cmvr-iot
 * @since 2026-05-29
 */
public interface IInspectionWaypointService extends IService<InspectionWaypoint>
{
    /**
     * 查询巡检点位
     * 
     * @param id 巡检点位主键
     * @return 巡检点位
     */
    InspectionWaypoint selectInspectionWaypointById(String id);

    /**
     * 查询巡检点位列表
     * 
     * @param inspectionWaypoint 巡检点位
     * @return 巡检点位集合
     */
    List<InspectionWaypointVo> selectInspectionWaypointList(InspectionWaypoint inspectionWaypoint);

    /**
     * 新增巡检点位
     * 
     * @param inspectionWaypoint 巡检点位
     * @return 结果
     */
    int insertInspectionWaypoint(InspectionWaypoint inspectionWaypoint);

    /**
     * 修改巡检点位
     * 
     * @param inspectionWaypoint 巡检点位
     * @return 结果
     */
    int updateInspectionWaypoint(InspectionWaypoint inspectionWaypoint);

    /**
     * 批量删除巡检点位
     * 
     * @param ids 需要删除的巡检点位主键集合
     * @return 结果
     */
    int deleteInspectionWaypointByIds(String[] ids);

}
