zlisen před 4 roky
rodič
revize
48e351ca4c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      src/main/resources/mapper/TaStudentMapper.xml

+ 1
- 1
src/main/resources/mapper/TaStudentMapper.xml Zobrazit soubor

49
           AND t.phone LIKE CONCAT( '%', #{phone}, '%' )
49
           AND t.phone LIKE CONCAT( '%', #{phone}, '%' )
50
         </if>
50
         </if>
51
         <if test="studentNo != null and studentNo != ''">
51
         <if test="studentNo != null and studentNo != ''">
52
-          AND t.student_no = LIKE CONCAT( '%', #{studentNo}, '%' )
52
+          AND t.student_no LIKE CONCAT( '%', #{studentNo}, '%' )
53
         </if>
53
         </if>
54
         <if test="schoolId != null and schoolId != ''">
54
         <if test="schoolId != null and schoolId != ''">
55
           AND t.school_id = #{schoolId}
55
           AND t.school_id = #{schoolId}