package com.hdkj.lt.mq.mapper.plan;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hdkj.lt.core.bizms.modle.po.FhzgDistTransformerCustomer;
import com.hdkj.lt.core.bizms.modle.po.plan.FhzgInfoBreakerSvgAfter;
import com.hdkj.lt.core.bizms.modle.po.plan.PlanAwaitTransferAreaResultPO;
import com.hdkj.lt.modle.dto.jsty.SwitchInfoDTO;
import com.hdkj.lt.mq.entity.dto.SwitchTreeNode;
import com.hdkj.lt.mq.entity.vo.PlanPowerCutVO;
import org.apache.ibatis.annotations.*;

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

/**
 * @Description
 * @Author wcx
 * @Date 2025/5/15 20:09
 * @Version 1.0
 */
@Mapper
public interface PlanAwaitTransferAreaResultMapper extends BaseMapper<PlanAwaitTransferAreaResultPO> {

    List<SwitchInfoDTO> getSwitchSectionInfo(String lineId, String startSwitchId, String linkSwitchId, List<String> endSwitchIds, List<String> switchTypes);

    List<FhzgDistTransformerCustomer> getTransformerCustomerInfo(List<String> trans, List<String> customers, LocalDateTime planStartTime, LocalDateTime planEndTime);

    PlanPowerCutVO selectPlanAndPlanTime(Long planId);

    void saveBreakerSvgAfterBatch(List<FhzgInfoBreakerSvgAfter> breakerSvgAfterList);

    List<SwitchTreeNode> getBreakerSvgAfter(String feeder, Long planId, List<String> deviceTypes);
}


