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

import com.hdkj.lt.core.bizms.modle.dto.TransformerNameDTO;
import com.hdkj.lt.core.bizms.modle.po.plan.FhzgPlanAwaitTransferUsers;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

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

/**
 * @Description
 * @Author wcx
 * @Date 2025/5/24 22:56
 * @Version 1.0
 */
@Mapper
public interface PlanAwaitTransferUsersMapper extends BaseMapper<FhzgPlanAwaitTransferUsers> {
    List<String> getTransformerNameByTransformerNo(@Param("transformerNo") String transformerNo);

    //查询中压用户接入点下所有专变名称集合
    List<String> getTransformerNameListByJoinecId(@Param("join_ec") String transformerNo);

    @MapKey("joinEc")
    Map<String, TransformerNameDTO> getTransformerName();
}
