package com.njcn.gather.detection.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.gather.detection.pojo.po.AdPair;

import java.util.List;

/**
 * @author caozehui
 * @data 2025-08-18
 */
public interface IAdPariService extends IService<AdPair> {

    /**
     * 获取最大的检测次数
     *
     * @param devMonitorId
     * @return
     */
    Integer getMaxNum(String devMonitorId);

    /**
     * 根据设备id查询配对关系
     *
     * @param devIds
     * @return
     */
    List<AdPair> listByDevIds(List<String> devIds);
}
