Administrator
2021-08-03 372ec8892f5ed3d11736e75abdd7f33ea34e0d2d
src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.xml
@@ -145,7 +145,9 @@
        on
            bu.id = sa.user_id
        where sa.user_id = #{userId}
        and is_exam = 1)
        and is_exam = 1
        and sa.apply_status = 2
        )
        union all
@@ -164,7 +166,9 @@
        on
            bu.id = str.user_id
        where str.user_id = #{userId}
        and is_exam = 1)
        and is_exam = 1
        and str.cancel = 3
        )
    </select>
</mapper>