package com.njcn.harmonic.mapper.report;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.harmonic.pojo.po.day.RStatLimitTargetDPO;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

/**
 * pqs
 * 合格率报告
 * @author cdf
 * @date 2023/6/7
 */
public interface QualifiedReportMapper {

    /**
     * 获取合格率详情
     * @author cdf
     * @date 2023/6/8
     */
    Page<RStatLimitTargetDPO> getLimitRateData(@Param("page") Page<List<Map<String,Object>>> page, @Param("lineIds")List<String> lineIds, @Param("startTime")LocalDateTime startTime, @Param("endTime")LocalDateTime endTime);

    /**
     *
     * @author cdf
     * @date 2023/6/8
     */
    List<Map<String,Object>> getLimitRateDataIHarm(@Param("lineIds")List<String> lineIds, @Param("startTime")String startTime, @Param("endTime")String endTime);

}
