package org.dromara.main.service.impl;

import lombok.RequiredArgsConstructor;
import org.dromara.main.domain.vo.MainTrainingLearnRecordVo;
import org.dromara.main.mapper.MainTrainingLearnRecordMapper;
import org.dromara.main.service.IMainTrainingLearnRecordService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 培训学习记录Service业务层处理
 *
 * @author ruoyi
 */
@RequiredArgsConstructor
@Service
public class MainTrainingLearnRecordServiceImpl implements IMainTrainingLearnRecordService {

    private final MainTrainingLearnRecordMapper baseMapper;

    @Override
    public List<MainTrainingLearnRecordVo> queryRecordListByStudentId(Long studentId) {
        return baseMapper.selectRecordListByStudentId(studentId);
    }
}
