package com.cmvr.inspection.mapper;

import java.util.List;
import com.cmvr.inspection.domain.InspectionWaypoint;
import com.cmvr.inspection.domain.vo.InspectionWaypointVo;
import com.github.yulichang.base.MPJBaseMapper;

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

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

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

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

    /**
     * 查询巡检点位视图列表（包含关联信息）
     * 
     * @param inspectionWaypoint 巡检点位
     * @return 巡检点位视图集合
     */
    List<InspectionWaypointVo> selectInspectionWaypointVoList(InspectionWaypoint inspectionWaypoint);


}
