SubjectTestPublishHistoryMapper.java 2.04 KB
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);


}