package com.yeejoin.amos.boot.module.jxiop.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.boot.module.jxiop.api.dto.IndexDto;
import com.yeejoin.amos.boot.module.jxiop.api.entity.MonitorFanIndicator;
import org.apache.ibatis.annotations.Param;

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

/**
 * @description:
 * @author: tw
 * @createDate: 2023/7/3
 */
public interface MonitorFanIndicatorMapper extends BaseMapper<MonitorFanIndicator> {


    List<Map<String, String>> getFanConfigPower(@Param("gatewayId") String gatewayId,
                                                @Param("equipmentNum") String equipmentNum);

    List<Map<String, String>> getBoosterStationInfo(@Param("gatewayId") String gatewayId);

    List<Map<String, String>> getMajorBoosterStationInfo(@Param("gatewayId") String gatewayId,
                                                         @Param("sortType") String sortType,
                                                         @Param("size") Integer size);

    Map<String, String> getMajorBoosterStationInfoBySort(@Param("gatewayId") String gatewayId,
                                                         @Param("sort") String sort);

    List<Map<String, String>> getBoosterStationInfo2(@Param("gatewayId") String boosterGatewayId);

    List<Map<String, String>> getBoosterStationInfoNormal(@Param("gatewayId") String boosterGatewayId);
}
