zlisen 4 years ago
parent
commit
48e351ca4c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/resources/mapper/TaStudentMapper.xml

+ 1
- 1
src/main/resources/mapper/TaStudentMapper.xml View File

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