package yangtz.cs.liu.campus.service.impl.student;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import yangtz.cs.liu.campus.domain.student.SchoolStudentClassRelation;
import yangtz.cs.liu.campus.mapper.student.SchoolStudentClassRelationMapper;
import yangtz.cs.liu.campus.service.student.ISchoolStudentClassRelationService;
import yangtz.cs.liu.campus.vo.schoolClass.StudentClassRelationVo;

import java.util.List;

@Service
public class SchoolStudentClassRelationServiceImpl extends ServiceImpl<SchoolStudentClassRelationMapper, SchoolStudentClassRelation> implements ISchoolStudentClassRelationService {
    @Autowired
    private SchoolStudentClassRelationMapper relationMapper;

    @Override
    public List<StudentClassRelationVo> queryListByStudentId(Long studentId) {
        return relationMapper.queryListByStudentId(studentId);
    }
}
