Blame view

ExerciseDoneHistoryMapper.java 1.71 KB
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
package com.meishu.mapper;

import com.meishu.dto.task.ClassDoneInfoDTO;
import com.meishu.dto.task.ExesDoneInfoPO;
import com.meishu.dto.task.PerStudentExesDTO;
import com.meishu.dto.task.PerStudentExesRequestVO;
import com.meishu.model.ExerciseDoneHistoryDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meishu.vo.task.ClassDoneInfoVO;
import com.meishu.vo.task.GetClassExeDoneInfoRequestVO;
import com.meishu.vo.task.GetClassExeDoneInfoResponseVO;
import com.meishu.vo.task.PerStuExeDoneResponseVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 学生做题记录表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2021-04-27
 */
 @Repository
public interface ExerciseDoneHistoryMapper extends BaseMapper<ExerciseDoneHistoryDO> {

 /**
  * 获取班级某个关联习题做题情况
  * @return
  */
 List<PerStuExeDoneResponseVO> perStudentRelateExes(PerStudentExesDTO perStudentExesRequestVO);

 /**
  * 获取关联/拓展题组做题情况
  */
 List<ClassDoneInfoVO> classDoneInfo(ClassDoneInfoDTO classDoneInfoPO);

 /**
  * 获取某题目组做题情况
  */
 List<ClassDoneInfoVO> exesDoneInfo(ExesDoneInfoPO exesDoneInfoPO);

 /**
  * 个人关联习题完成度明细
  * @param getClassExeDoneInfoVO
  * @return
  */
 List<GetClassExeDoneInfoResponseVO> getRelateExeDoneInfo(GetClassExeDoneInfoRequestVO getClassExeDoneInfoVO);

 /**
  * 个人拓展习题完成度明细
  */
 List<GetClassExeDoneInfoResponseVO> getExpandingExeDoneInfo(GetClassExeDoneInfoRequestVO getClassExeDoneInfoRequestVO);


 /**
  * 获取班级某个拓展习题组做题情况
  */
 List<PerStuExeDoneResponseVO> perStudentExpandingExes(PerStudentExesRequestVO perStudentExesRequestVO);
}