package com.njcn.gather.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.gather.device.pojo.po.PqStandardDevGainRecord;

import java.util.List;

/**
 * @author caozehui
 * @date 2026-01-15
 */
public interface IPqStandardDevGainRecordService extends IService<PqStandardDevGainRecord> {

    /**
     * 获取最大下发系数的次数
     *
     * @param stdDevMonitorId
     * @param devMonitorId
     * @return
     */
    int getMaxNum(String stdDevMonitorId, String devMonitorId);

    /**
     * 批量新增或更新记录
     * @param recordList
     * @return
     */
    boolean addOrUpdate(List<PqStandardDevGainRecord> recordList);
}
