package com.zhongzheng.modules.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongzheng.modules.user.bo.UserStudyRecordQueryBo;
import com.zhongzheng.modules.user.domain.UserStudyRecord;
import com.zhongzheng.modules.user.vo.UserStudyRecordVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户学习记录Mapper接口
 *
 * @author ruoyi
 * @date 2021-06-25
 */
public interface UserStudyRecordMapper extends BaseMapper<UserStudyRecord> {

    List<UserStudyRecordVo> selectList(UserStudyRecordQueryBo bo);

    List<UserStudyRecord> selectUserStudy(@Param("userId") Long userId, @Param("courseId") Integer courseId);
}
