From b2d47ab5ef3449bd376cd40fd28dd3b3f49c8878 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 05 七月 2024 09:57:37 +0800 Subject: [PATCH] 乐观锁值调整 --- src/main/java/com/ycl/jxkg/mapper/QuestionMapper.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/mapper/QuestionMapper.java b/src/main/java/com/ycl/jxkg/mapper/QuestionMapper.java index c418e3d..69b35e1 100644 --- a/src/main/java/com/ycl/jxkg/mapper/QuestionMapper.java +++ b/src/main/java/com/ycl/jxkg/mapper/QuestionMapper.java @@ -30,7 +30,7 @@ */ List<Question> getAnswerInfo(@Param("questionIds") List<Integer> questionIds); - List<RandomQuestionDTO> selectBySubject(@Param("subjectId") Integer subjectId, @Param("types") List<Integer> types); + Integer selectByDifAndSub(RandomQuestionDTO dto); /** * 鑾峰彇闅忔満棰� @@ -40,5 +40,5 @@ * @param num 鏁伴噺 * @return */ - List<Question> getRandomQuestion(@Param("subjectId") Integer subjectId, @Param("questionType") Integer questionType, @Param("num") Integer num); + List<Question> getRandomQuestion(@Param("subjectId") Integer subjectId, @Param("questionType") Integer questionType,@Param("difficult") Integer difficult, @Param("num") Integer num); } -- Gitblit v1.8.0