智慧保安后台管理-外网项目备份
zhongrj
2023-09-17 8853292babb2ad94de4a3207966f1e83b767cd2d
src/main/java/org/springblade/modules/simulateexam/mapper/SimulateExamRecordMapper.xml
@@ -11,4 +11,28 @@
        </if>
    </select>
    <!--查询当前人员当前模拟考试的考试题目信息-->
    <select id="getSimulateExamRefreshList" resultType="org.springblade.modules.exam.vo.ExamSubjectChoicesVO">
        select
        id,
        category_id categoryId,
        subject_name subjectName,
        choices_type choicesType,
        answer,
        score,
        analysis,
        tktype
        from exam_subject_choices
        where id in
        <foreach collection="list" index="index" item="item" open="(" separator="," close=")">
            #{item}
        </foreach>
        order by field(id,
        <foreach collection="list" index="index" item="item" separator=",">
            #{item}
        </foreach>
        )
    </select>
</mapper>