package org.jeecg.modules.database.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.database.entity.ExperimentReport;

import java.util.List;

/**
 * @Description: 试验报告
 * @Author: jeecg-boot
 * @Date: 2024-08-30
 * @Version: V1.0
 */
public interface IExperimentReportService extends IService<ExperimentReport> {
    List<ExperimentReport> getByExperimentId(String experimentId);
    List<ExperimentReport> getPassedByExperimentId(String experimentId);

    ExperimentReport getLatestReport(String experimentId);

    IPage<ExperimentReport> join(Page page, ExperimentReport queryWrapper, QueryWrapper<ExperimentReport> wrapper);
}
