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

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import yangtz.cs.liu.campus.mapper.student.SchoolStudentParentMapper;
import yangtz.cs.liu.campus.service.teacher.ISchoolMentorService;
import yangtz.cs.liu.campus.vo.student.SchoolStudentParentVO;

import java.util.List;

@Service
public class SchoolMentorServiceImpl implements ISchoolMentorService {

    @Autowired
    private SchoolStudentParentMapper schoolStudentParentMapper;

    @Override
    public List<SchoolStudentParentVO> selectParentList(SchoolStudentParentVO schoolStudentParentVO, Long teacherId) {
        return schoolStudentParentMapper.selectParentListByMentor(schoolStudentParentVO,teacherId);
    }
}
