package com.hdkj.lt.bf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hdkj.lt.bf.entity.dto.DirectCurrentDTO;
import com.hdkj.lt.bf.entity.vo.*;
import com.hdkj.lt.core.bizms.modle.dto.FhzgGridOperationAbnormalityDTO;
import com.hdkj.lt.core.bizms.modle.po.operationAbnormality.FhzgGridOperationAbnormality;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
* @author userlrk
* @description 针对表【fhzg_grid_operation_abnormality(运行异常转供异常信息表)】的数据库操作Mapper
* @createDate 2025-07-05 11:26:21
* @Entity generator.domain.FhzgGridOperationAbnormality
*/
@Mapper
public interface FhzgGridOperationAbnormalityMapper extends BaseMapper<FhzgGridOperationAbnormality> {


//    @MybatisLikeInterceptorMethod
    List<FhzgGridOperationAbnormalityVO> getOperationAbnormalityList( @Param("queryDTO") FhzgGridOperationAbnormalityDTO queryDTO);

    List<FeederDeviceVO> getBreakerAreaInfo(@Param("oaId")Long oaId, @Param("kgPsrTypes")List<String> kgPsrTypes);

    List<FeederDeviceVO> getDefaultBreakerAreaInfo(@Param("feederId")String feederId, @Param("kgPsrTypes")List<String> kgPsrTypes);

    DynamicSvgDirectVO getDistLineDynamicSvgDirectCurrent(@Param("objId")String objId);

    List<FeederDeviceVO> getFeederSwitchBusbar(@Param("feederList")List<String> feederList);

    List<FeederSwitchVO> getFeederSwitchByPsrId(@Param("psrIdList")List<String> psrIdList);

    List<DirectCurrentSwitchVO> getDistDynamicSvgDirectCurrentInfo(@Param("queryDTO")DirectCurrentDTO queryDTO, @Param("kgPsrTypes")List<String> kgPsrTypes);

    List<String> getFilterDirectCurrentSwitchInfo(@Param("filterLineSwitch")List<FilterLineSwitchVO> filterLineSwitch, @Param("kgPsrTypes")List<String> kgPsrTypes);

    LocalDateTime getPlanCreateTimeById(@Param("id")Long id);

    List<FeederDeviceVO> getSwitchInfoWithoutNormal(@Param("feederId")String feederId, @Param("kgPsrTypes")List<String> kgPsrTypes);
}




