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.FhzgDistCustomerDTO;
import com.hdkj.lt.core.bizms.modle.po.plan.FhzgPlanAwaitTransferSwitchSection;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 计划停电待转供开关段信息表 Mapper接口
 *
 * @author zhousc
 * @since 2025-05-07
 */
@Mapper
public interface FhzgPlanAwaitTransferSwitchSectionMapper extends BaseMapper<FhzgPlanAwaitTransferSwitchSection> {

    @Select("select * from fhzg_plan_await_transfer_switch_section where plan_id = #{dto.planId}")
    List<FhzgPlanAwaitTransferSwitchSection> selectSwitchSectionList(Page<FhzgPlanAwaitTransferSwitchSection> page, @Param("dto") FhzgDistCustomerDTO dto);

}
