src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.xml
@@ -235,10 +235,17 @@ <!--查询当前考试的报名人员数量--> <select id="getApplyNumber" resultType="java.lang.Integer"> select count(*) from sys_apply select sum(a) from( select count(*) a from sys_apply where exam_id = #{examPaper.id} and apply_status = 2 union all ( select count(*) a from sys_training_registration where train_exam_id = #{examPaper.id} ) ) c </select> <!--查询当前考试的报名人员数量,模拟考试-->