| src/main/java/org/springblade/modules/simulateexam/mapper/SimulateExamRecordMapper.xml | ●●●●● patch | view | raw | blame | history |
src/main/java/org/springblade/modules/simulateexam/mapper/SimulateExamRecordMapper.xml
@@ -10,12 +10,12 @@ bd.dept_name AS deptName FROM simulate_exam_record ser LEFT JOIN blade_user bu ON bu.phone = ser.phone LEFT JOIN blade_user bu ON bu.cardid = ser.id_card_no LEFT JOIN blade_dept bd ON bd.id = bu.dept_id WHERE bu.is_deleted = 0 AND ser.phone IS NOT NULL AND ser.phone != "" AND ser.id_card_no IS NOT NULL AND ser.id_card_no != "" <if test="simulateExamRecord.phone != null and simulateExamRecord.phone != ''" > and ser.phone LIKE CONCAT('%',#{simulateExamRecord.phone},'%') </if>