package yangtz.cs.liu.campus.mapper.schoolexam;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import yangtz.cs.liu.campus.domain.schoolexam.SchoolExam;

import java.util.List;

/**
 * 学校考试信息Mapper接口
 *
 * @author ruoyi
 * @date 2022-09-29
 */
@Mapper
public interface SchoolExamMapper extends BaseMapper<SchoolExam> {

    /**
     * 公众号：家长获取孩子所有考试成绩
     * @param studentId
     * @return
     */
    List<SchoolExam> getChildExam(@Param("studentId") Long studentId,  @Param("entity") SchoolExam schoolExam);
}
