智慧保安后台管理-验收版本
tangzy
2021-12-06 30df94c05573a426d030510d4dd58ae1d93bfb7a
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>