Administrator
2021-08-03 7b18a6778a4ab36ff4181ebcef1d2f747a7291c6
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>