龚焕茏
2024-05-17 6bf6111fdd4245cf6f4c5cfad9314fe8d570bd98
feat:随机试卷补考
1个文件已修改
3 ■■■■ 已修改文件
src/main/resources/mapper/ExamTemplatesUserCountMapper.xml 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/ExamTemplatesUserCountMapper.xml
@@ -65,7 +65,8 @@
    </select>
    <select id="getCountByUserIdAndTemplatesId" resultType="java.lang.Integer" parameterType="com.mindskip.xzs.domain.vo.ExamTemplatesUserCountVO">
        select count(*) from t_exam_templates_user_count
        select count(*) from t_exam_templates_user_count a
         inner join t_exam_paper_answer b on a.exam_paper_id = b.exam_paper_id and (b.invalid = 0 or b.invalid is null)
        where user_id = #{userId}  and exam_templates_id = #{id}
    </select>