@Select("select * from judge_question where questionId in (select questionId from paper_manage where questionType = 3 and paperId = #{paperId}) order by rand() limit 1")
@Select("select * from judge_question where questionId>10253 and questionId in (select questionId from paper_manage where questionType = 3 and paperId = #{paperId}) order by rand() limit 5")
@@ -15,8 +15,8 @@ public interface MultiQuestionMapper {
* select questionId from papermanage where questionType = 1 and paperId = 1001
* )
*/
@Select("select * from multi_question where questionId in (select questionId from paper_manage where questionType = 1 and paperId = #{paperId}) order by rand() limit 1")
@Select("select * from multi_question where questionId>10578 and oneOrmore = #{oneOrmore} and questionId in (select questionId from paper_manage where questionType = 1 and paperId = #{paperId}) order by rand() limit 5")