“djh”
2024-11-11 8458e64aab474c0fc2f49ae4ff22fb11ce5cf6e2
exam-system/src/main/java/com/gkhy/exam/system/mapper/ExPaperStudentMapper.java
@@ -25,6 +25,13 @@
    ExPaperStudent selectPaperStudentById(Long paperStudentId);
    /**
     * 根据id获取考卷下的学员,信息较少
     * @param paperStudentId
     * @return
     */
    ExPaperStudent selectSimplePaperStudentById(Long paperStudentId);
    /**
     * 分页查询考卷下分配的学员
     * @param paperStudent
     * @return
@@ -59,4 +66,29 @@
     * @return
     */
    ExPaperStudent selectByPaperStudentId(ExPaperStudent paperStudent);
    /**
     * 根据学员id获取学员分配的考试列表
     * @param studentId
     * @return
     */
    List<ExPaperStudent> selectByStudentId(Long studentId);
    /**
     * 分页获取未完成考试学生列表
     * @param startIndex
     * @param pageSize
     * @return
     */
    List<ExPaperStudent> selectNoCompleteStudent(int startIndex,int pageSize);
    /**
     * 批量更新完成状态
     * @param paperStudentIds
     * @param completed
     */
    void batchUpdateComplete(@Param("paperStudentIds") List<Long> paperStudentIds,@Param("completed") Integer completed);
}