package org.jeecg.modules.database.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.database.entity.ExperimentSampleInfo;

import java.util.List;

/**
 * @Description: 试验样品信息
 * @Author: jeecg-boot
 * @Date: 2024-12-04
 * @Version: V1.0
 */
public interface ExperimentSampleInfoMapper extends BaseMapper<ExperimentSampleInfo> {

    @Select("SELECT distinct sample_model FROM experiment_sample_info")
    List<ExperimentSampleInfo> listSampleModel();

    @Select("SELECT distinct sample_batch FROM experiment_sample_info")
    List<ExperimentSampleInfo> listSampleBatch();

    @Select("SELECT distinct sample_name,sample_type FROM experiment_sample_info")
    List<ExperimentSampleInfo> listSampleName();

}
