xiangpei
2025-05-14 47cd9ecc0eff38ffe6b3b794b2bf197e958f4403
src/main/java/com/mindskip/xzs/repository/ExamPaperMapper.java
@@ -2,7 +2,9 @@
import com.mindskip.xzs.domain.ExamPaper;
import com.mindskip.xzs.domain.other.KeyValue;
import com.mindskip.xzs.domain.vo.ExamTemplatesVO;
import com.mindskip.xzs.domain.vo.PaperExcelVO;
import com.mindskip.xzs.domain.vo.UserVO;
import com.mindskip.xzs.viewmodel.admin.exam.ExamPaperPageRequestVM;
import com.mindskip.xzs.viewmodel.student.dashboard.PaperFilter;
import com.mindskip.xzs.viewmodel.student.dashboard.PaperInfo;
@@ -24,7 +26,7 @@
    List<PaperInfo> indexPaper(PaperFilter paperFilter);
    Integer selectAllCount();
    Integer selectAllCount(List<Integer> deptIds);
    List<KeyValue> selectCountByDate(@Param("startTime") Date startTime, @Param("endTime") Date endTime);
@@ -38,5 +40,23 @@
    List<PaperExcelVO> getPaperExcelById(@Param("id") Integer id);
    List<ExamPaper> list();
    List<ExamPaper> list(List<Integer> deptIds);
    List<ExamPaper> template(List<Integer> deptIds);
    List<UserVO> selectStudent(UserVO userVO);
    List<Integer> getExamPaperByTemplateId(ExamTemplatesVO model);
    List<ExamPaper> getExamPaper();
    List<ExamPaper> getTemplate();
    /**
     * 获取随机试卷的exampaper
     *
     * @param id
     * @return
     */
    List<PaperExcelVO> getRandomPaperExcelById(Integer id);
}