智慧保安后台管理-验收版本
Administrator
2021-09-18 dae145fda8a0102c8cb396acce37d6219cf6be88
src/main/java/org/springblade/modules/apply/mapper/ExamPaymentMapper.xml
@@ -7,7 +7,8 @@
        SELECT
        se.*,
        bu.real_name realName,bu.cardid idCardNo,bu.sex,bu.phone,
        bd.dept_name deptName
        bd.dept_name deptName,
        sa.apply_time applyTime,"保安员证" as paperType
        FROM
        sys_exam_payment se
        left join
@@ -18,8 +19,13 @@
        blade_dept bd
        on
        bd.id = bu.dept_id
        left join
        sys_apply sa
        on
        sa.user_id = se.worker_id
        WHERE
        type = 1
        1=1
        and sa.apply_status = 2
        <if test="examPayment.workerId!=null and  examPayment.workerId!=''">
            and se.worker_id like concat('%', #{examPayment.workerId},'%')
        </if>