tangzy
2021-09-06 097a14bada17d8b2bc776ba0d97e6c67bf1eba89
src/main/java/org/springblade/modules/apply/mapper/ApplyMapper.xml
@@ -126,7 +126,8 @@
            sr.candidate_no candidateNo,
            bt.dept_name AS deptName,"保安证" applyCard,
            bu.real_name realName,bu.cardid idCardNo,ifnull(bu.sex,0) sex,bu.avatar myPicture,
            ke.exam_type examType,ke.start_time startTime,ke.end_time endTime,ke.exam_name examName
            ke.exam_type examType,ke.start_time startTime,ke.end_time endTime,ke.exam_name examName,
            si.enterpriseName company,si.address
        FROM
        sys_training_registration sr
        LEFT JOIN
@@ -145,6 +146,10 @@
        ksxt_exam ke
        on
        ke.id = sr.train_exam_id
        left join
        sys_information si
        on
        si.departmentid = sr.training_unit_id
        WHERE
        1=1
          and sr.id = #{apply.id}
@@ -229,6 +234,7 @@
        and sa.apply_status = 2
        and bu.is_apply = 1
        and sa.exam_id is null
        limit 0,#{number}
    </select>
    <!--查询考试人数-->