package cn.datax.service.data.quality.service;

import cn.datax.service.data.quality.api.entity.CheckReportEntity;
import cn.datax.common.base.BaseService;
import cn.datax.service.data.quality.api.entity.DataReportEntity;

import java.util.List;

/**
 * <p>
 * 核查报告信息表 服务类
 * </p>
 *
 * @author yuwei
 * @since 2020-09-27
 */
public interface CheckReportService extends BaseService<CheckReportEntity> {

    CheckReportEntity getCheckReportById(String id);

    /**
     * 按数据源统计
     * @return
     */
    List<DataReportEntity> getReportBySource();

    /**
     * 按规则类型统计
     * @return
     */
    List<DataReportEntity> getReportByType();
}
