| | |
| | | <if test="paper.examName!=null and paper.examName!=''"> |
| | | and exam_name = #{paper.examName} |
| | | </if> |
| | | order by start_time desc |
| | | </select> |
| | | |
| | | <select id="PagerSubject" resultMap="PagerSubjectAnswer"> |
| | |
| | | <!--查询考试人员考试信息--> |
| | | <select id="getExamDetail" resultType="org.springblade.modules.exam.vo.ExamPaperVO"> |
| | | (select |
| | | ke.id,ke.exam_name examName,ke.start_time startTime,ke.exam_type examType, |
| | | ke.id,ke.exam_name examName,ke.start_time startTime,ke.end_time endTime,ke.exam_type examType, |
| | | sa.candidate_no candidateNo,sa.id applyId, |
| | | bu.real_name realName,bu.sex,bu.cardid idCardNo |
| | | from |
| | |
| | | union all |
| | | |
| | | (select |
| | | ke.id,ke.exam_name examName,ke.start_time startTime,ke.exam_type examType, |
| | | ke.id,ke.exam_name examName,ke.start_time startTime,ke.end_time endTime,ke.exam_type examType, |
| | | str.candidate_no candidateNo,str.id applyId, |
| | | bu.real_name realName,bu.sex,bu.cardid idCardNo |
| | | from |