package com.education.business.mapper.education;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.education.model.dto.StuGoalInfoDto;
import com.education.model.dto.StuGoalInfoRespDto;
import com.education.model.entity.GoalInfo;
import com.education.model.entity.StuGoalInfo;
import com.education.model.request.PageParam;

/**
 * @author zhangj
 * @version 1.0
 * @create_at
 */
public interface StuGoalInfoMapper extends BaseMapper<StuGoalInfo> {

    /**
     * 学生导向目标答题记录列表
     * @param page
     * @param stuGoalInfo
     * @return
     */
    Page<StuGoalInfoDto> selectPageList(Page<StuGoalInfoDto> page, StuGoalInfo stuGoalInfo);

    Page<StuGoalInfoRespDto> selectPageByCourseId(Page<StuGoalInfoRespDto> page, Integer courseId, int studentId);
}