package org.jeecg.modules.database.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.database.entity.ExperimentIrradiationBoard;
import org.jeecg.modules.database.mapper.ExperimentIrradiationBoardMapper;
import org.jeecg.modules.database.service.IExperimentIrradiationBoardService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 试验辐照板信息
 * @Author: jeecg-boot
 * @Date: 2024-12-05
 * @Version: V1.0
 */
@Service
public class ExperimentIrradiationBoardServiceImpl extends ServiceImpl<ExperimentIrradiationBoardMapper, ExperimentIrradiationBoard>
        implements IExperimentIrradiationBoardService {

    @Override
    public List<ExperimentIrradiationBoard> getByExperimentId(String experimentId) {
        return list(new LambdaQueryWrapper<ExperimentIrradiationBoard>().eq(ExperimentIrradiationBoard::getExperimentId, experimentId));
    }
}
