智慧保安后台管理-外网项目备份
guoshilong
2023-12-23 ffba4c1baea0c7cedd2a70cfc56101fb0b58da25
src/main/java/org/springblade/modules/simulateexam/mapper/SimulateExamRecordMapper.xml
@@ -5,7 +5,7 @@
    <!--自定义查询模拟考试记录分页数据-->
    <select id="selectSimulateExamRecordPage" resultType="org.springblade.modules.simulateexam.vo.SimulateExamRecordVO">
        SELECT
            ser.*,
            DISTINCT ser.*,
            bu.real_name AS userName,
            bd.dept_name AS deptName
        FROM
@@ -13,7 +13,7 @@
        LEFT JOIN blade_user bu ON bu.phone = ser.phone
        LEFT JOIN blade_dept bd ON bd.id = bu.dept_id
        WHERE
            1 = 1
            bu.is_deleted = 0
            AND ser.phone IS NOT NULL
            AND ser.phone != ""
        <if test="simulateExamRecord.phone != null and simulateExamRecord.phone != ''" >