zouxuan 5 年之前
父节点
当前提交
b3477a9f50
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentManageDao.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/StudentManageDao.xml

@@ -368,7 +368,7 @@
     <sql id="queryMusicGroupStudentSql">
     <sql id="queryMusicGroupStudentSql">
         <where>
         <where>
             <if test="search != null and search != ''">
             <if test="search != null and search != ''">
-                AND (su.username_ like CONCAT("%",#{search},"%") OR sr.parents_phone_ like CONCAT("%",#{search},"%"))
+                AND (su.username_ like CONCAT("%",#{search},"%") OR su.phone_ like CONCAT("%",#{search},"%"))
             </if>
             </if>
             <if test="subjectId != null">
             <if test="subjectId != null">
                 AND sr.actual_subject_id_ = #{subjectId}
                 AND sr.actual_subject_id_ = #{subjectId}