zlisen 4 年之前
父節點
當前提交
48e351ca4c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/main/resources/mapper/TaStudentMapper.xml

+ 1
- 1
src/main/resources/mapper/TaStudentMapper.xml 查看文件

@@ -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}