Administrator
2021-08-03 372ec8892f5ed3d11736e75abdd7f33ea34e0d2d
个人考试信息查询接口修改
2 files modified
12 ■■■■■ changed files
src/main/java/org/springblade/modules/apply/mapper/ApplyMapper.xml 4 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/exam/mapper/ExamPaperMapper.xml 8 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/apply/mapper/ApplyMapper.xml
@@ -5,7 +5,7 @@
    <!--考试报名分页信息-->
    <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
@@ -48,7 +48,7 @@
    <!--考试报名详情信息-->
    <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
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>