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

import com.hdkj.lt.core.bizms.modle.dto.FhzgPlanAwaitTransferUsersCountDTO;
import com.hdkj.lt.core.bizms.modle.dto.TransformerNameDTO;
import com.hdkj.lt.core.bizms.modle.po.fault.FaultAwaitTransferUsers;
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 FaultAwaitTransferUsersMapper extends BaseMapper<FaultAwaitTransferUsers> {

    FhzgPlanAwaitTransferUsersCountDTO selectAwaitUserCountAnduserLoads(@Param("faultId") Long faultId);

    List<String> getTransformerNameByTransformerNo(@Param("transformerNo") String transformerNo);

    //查询站房名称列表
    List<String> getTransformerNameListByJoinecId(@Param("join_ec") String transformerNo);

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