Blame view

SubjectTestPublishHistoryMapper.java 2.04 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 62 63 64 65 66 67 68 69 70 71 72 73 74 75
package com.meishu.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.meishu.dto.test.GetPublishHistoryDTO;
import com.meishu.model.StudentDO;
import com.meishu.model.SubjectStudentAnswerStarDO;
import com.meishu.model.SubjectTestPublishHistoryDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meishu.model.SubjectTestStudentAnswerDO;
import com.meishu.vo.rule.GetOneExaminationDetailVO;
import com.meishu.vo.rule.GetStudentRulesVO;
import com.meishu.vo.rule.StudentStarVO;
import com.meishu.vo.test.CommentVO;
import com.meishu.vo.test.GetOnePublishVO;
import com.meishu.vo.test.GetPublishHistoryVO;
import com.meishu.vo.test.GetTestReportVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 测评发布记录表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2021-05-08
 */
@Repository
public interface SubjectTestPublishHistoryMapper extends BaseMapper<SubjectTestPublishHistoryDO> {

    /**
     * 获取学生的月考列表
     *
     * @param
     * @return
     */
    List<GetStudentRulesVO> getStudentExamination(Long id,Long subjectId);

    /**
     * 获取学生某个月考的卷面
     *
     * @param subjectTestStudentAnswerDO
     * @return
     */
    GetOneExaminationDetailVO getOneExaminationDetail(SubjectTestStudentAnswerDO subjectTestStudentAnswerDO);


    /**
     * 获取某个学生的星级评测
     */
    List<StudentStarVO> studentStar(SubjectTestStudentAnswerDO subjectTestStudentAnswerDO);

    /**
     * 获取发布历史
     */
    IPage<GetPublishHistoryVO> getPublishHistory(IPage page, Long ruleId, String publishName);

    /**
     * 测评报告列表
     */
    IPage<GetTestReportVO> getTestReport(IPage iPage, Long ruleId, String publishName);

    /**
     * 某个测评报告的详情
     */
    IPage<GetOnePublishVO> getOnePublish(IPage iPage, Long id, String userName,String commentStatus);

    /**
     * 查看评析里的维度名称,老师名字
     */
    List<CommentVO> getCommentDetail(GetOnePublishVO  getOnePublishVO);


}