package com.njcn.prepare.harmonic.mapper.mysql.line;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.njcn.device.pms.pojo.po.Monitor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yzh
 * @date 2022/10/17
 */

@Mapper
public interface PmsMonitorMapper extends BaseMapper<Monitor> {
    /**
     * 查询所有干扰源类型的监测点
     * @param monitorIdList
     * @param codeList
     * @return
     */
    List<Monitor> queryConfigMonitor(@Param("monitorIdList") List<String> monitorIdList, @Param("codeList") List<String> codeList);

    List<Monitor> queryEffectiveBusbars(@Param("collect") List<String> collect);
}
