From d0ebd33f5e4fdbff1f58a1af137d45b405366399 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 28 六月 2024 16:00:03 +0800 Subject: [PATCH] rabbitmq --- 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