package com.hdkj.lt.bf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hdkj.lt.core.bizms.modle.dto.FhzgFaultDistCustomerDTO;
import com.hdkj.lt.core.bizms.modle.po.fault.FaultAwaitTransferSwitchSection;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 故障停电待转供开关段信息表 Mapper 接口
 * </p>
 *
 * @author luorui
 * @since 2025-05-29
 */
@Mapper
public interface FaultAwaitTransferSwitchSectionMapper extends BaseMapper<FaultAwaitTransferSwitchSection> {


    @Select("select * from fhzg_fault_await_transfer_switch_section where fault_id = #{dto.faultId}")
    List<FaultAwaitTransferSwitchSection> selectSwitchSectionList(Page<FaultAwaitTransferSwitchSection> page, @Param("dto") FhzgFaultDistCustomerDTO dto);
}
