package com.hdkj.lt.bf.mapper;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hdkj.lt.bf.entity.dto.FhzgFaultTransferSchemeFinalSegmentCurrentDetailDTO;
import com.hdkj.lt.core.bizms.modle.po.fault.FaultPowerCut;
import com.hdkj.lt.core.bizms.modle.po.plan.FhzgFaultTransferSchemeFinalSegmentCurrentDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author luorui
 * @date 2025/5/15 10:03
 * 终态安全校验开关电流明细
 *
 */
@Mapper
public interface FhzgFaultTransferSchemeFinalSegmentCurrentDetailMapper {

    /**
     * @author luorui
     * @date 2025/5/16 15:51
     * @discription 分页查询明细
     *
     **/
    Page<FhzgFaultTransferSchemeFinalSegmentCurrentDetailDTO> getTransferSchemeFinalSegmentCurrentDetailByIdPage(Page<FhzgFaultTransferSchemeFinalSegmentCurrentDetail> page, @Param("switchingId")  Long switchingId);


    List<Map<String, Object>> getListBySwitchingId(@Param("switchingId")  Long switchingId);

    FaultPowerCut getFaultInfoBySwitchingId(@Param("switchingId")  Long switchingId) ;
}
