package org.jeecg.modules.database.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.database.dto.ExperimentReviewDTO;
import org.jeecg.modules.database.entity.*;

import java.util.List;

/**
 * @Description: 试验评定结果
 * @Author: jeecg-boot
 * @Date: 2025-06-16
 * @Version: V1.0
 */
public interface IExperimentReviewService extends IService<ExperimentReview> {

    ExperimentReview review(Experiment experiment, ExperimentSampleInfo sampleInfo, ExperimentReview experimentReview);

    ExperimentReview getBySampleId(String experimentId, String sampleId);

    List<ExperimentReviewDTO> getByExperimentId(String experimentId);
}
