| | |
| | | <!--考试报名分页信息--> |
| | | <select id="selectApplyPage" resultType="org.springblade.modules.apply.vo.ApplyVO"> |
| | | SELECT |
| | | sa.id,sa.user_id userId,sa.candidate_no candidateNo,apply_time,exam_id examId, |
| | | sa.id,sa.apply_status applyStatus,sa.user_id userId,sa.candidate_no candidateNo,apply_time,exam_id examId, |
| | | ke.total_score paperScore,ke.exam_type examType,ke.start_time examTime,ke.exam_name examName, |
| | | bu.real_name name,sa.examination_type,sa.examination_mx, |
| | | bd.dept_name deptName,bu.cardid idCardNo,"保安证" applyCard |
| | |
| | | <!--考试报名详情信息--> |
| | | <select id="selectApplyInfo" resultType="org.springblade.modules.apply.vo.ApplyVO"> |
| | | SELECT |
| | | sa.id,sa.user_id userId,sa.candidate_no candidateNo,apply_time,exam_id examId, |
| | | sa.id,sa.apply_status applyStatus,sa.user_id userId,sa.candidate_no candidateNo,apply_time,exam_id examId, |
| | | ke.total_score paperScore,ke.exam_type examType,ke.start_time examTime,ke.exam_name examName, |
| | | bu.real_name name,sa.examination_type,sa.examination_mx, |
| | | bd.dept_name deptName |
| | |
| | | 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 |
| | | |
| | |
| | | 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> |