package com.njcn.gather.plan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.gather.device.pojo.vo.PqDevVO;
import com.njcn.gather.plan.pojo.po.AdPlan;
import com.njcn.gather.plan.pojo.po.PqDevCheckHistory;
import com.njcn.gather.plan.pojo.vo.PlanStatisticsItemVO;

import java.util.List;

public interface IPqDevCheckHistoryService extends IService<PqDevCheckHistory> {

    void saveOrUpdateDeviceHistory(AdPlan plan, PqDevVO device);

    void backfillPlanHistoryIfEmpty(AdPlan plan, List<PqDevVO> checkedDevices);

    List<PlanStatisticsItemVO> listItemDistributions(String planId, String manufacturer, String devType);
}
