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 != ''" >