From 16b4725365f3286c2d2a80945e26f35f89b53f24 Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 28 六月 2024 11:37:06 +0800 Subject: [PATCH] answer表改为score表,阅卷代码 --- src/main/java/com/ycl/jxkg/mapper/QuestionMapper.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/mapper/QuestionMapper.java b/src/main/java/com/ycl/jxkg/mapper/QuestionMapper.java index 3042302..c418e3d 100644 --- a/src/main/java/com/ycl/jxkg/mapper/QuestionMapper.java +++ b/src/main/java/com/ycl/jxkg/mapper/QuestionMapper.java @@ -31,4 +31,14 @@ List<Question> getAnswerInfo(@Param("questionIds") List<Integer> questionIds); List<RandomQuestionDTO> selectBySubject(@Param("subjectId") Integer subjectId, @Param("types") List<Integer> types); + + /** + * 鑾峰彇闅忔満棰� + * + * @param subjectId 璇剧洰 + * @param questionType 棰樺瀷 + * @param num 鏁伴噺 + * @return + */ + List<Question> getRandomQuestion(@Param("subjectId") Integer subjectId, @Param("questionType") Integer questionType, @Param("num") Integer num); } -- Gitblit v1.8.0