package com.admin.major.service.impl;

import com.admin.major.domain.ClassResult;
import com.admin.major.domain.dto.ClassResultDTO;
import com.admin.major.mapper.EnhanceClassResultMapper;
import com.admin.major.service.EnhanceClassResultService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liangjunxing
 * @date 2022/5/18 0018
 */
@Service
public class EnhanceClassResultServiceImpl implements EnhanceClassResultService {
    @Autowired
    private EnhanceClassResultMapper enhanceClassResultMapper;

    @Override
    public List<ClassResultDTO> viewClassResult(ClassResultDTO classResultDTO) {
        return enhanceClassResultMapper.viewClassResult(classResultDTO);
    }

    @Override
    public ClassResultDTO selectClassResultById(long id) {
        return enhanceClassResultMapper.selectClassResultById(id);
    }

}
