智慧保安后台管理-外网
tangzy
2021-08-05 60f3b50baef73b3c8d928c7059632f8df892fafc
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
@@ -25,6 +25,7 @@
            bd.id = bu.dept_id
        WHERE
            1=1
            and is_exam = 1
        <if test="apply.name!=null and  apply.name!=''">
            and sa.name like concat('%', #{apply.name},'%')
        </if>
@@ -48,7 +49,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
@@ -166,6 +167,7 @@
        bd.id = bu.dept_id
        WHERE
        1=1
        and is_exam = 1
        <if test="apply.name!=null and  apply.name!=''">
            and sa.name like concat('%', #{apply.name},'%')
        </if>