From f0f00e9ba8a755e4317e029d73b69a92ad9f9df1 Mon Sep 17 00:00:00 2001 From: kongzy <kongzy> Date: 星期六, 14 九月 2024 17:02:41 +0800 Subject: [PATCH] update --- exam-system/src/main/java/com/gkhy/exam/system/mapper/ExPaperStudentMapper.java | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/exam-system/src/main/java/com/gkhy/exam/system/mapper/ExPaperStudentMapper.java b/exam-system/src/main/java/com/gkhy/exam/system/mapper/ExPaperStudentMapper.java index 0bf8f53..cd0e45e 100644 --- a/exam-system/src/main/java/com/gkhy/exam/system/mapper/ExPaperStudentMapper.java +++ b/exam-system/src/main/java/com/gkhy/exam/system/mapper/ExPaperStudentMapper.java @@ -66,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); + + + } -- Gitblit v1.9.2