tangzy
2021-08-05 60f3b50baef73b3c8d928c7059632f8df892fafc
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>