瀏覽代碼

管乐迷优化需求

zouxuan 6 月之前
父節點
當前提交
b8dc7add8a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/ClassGroupStudentMapperMapper.xml

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

@@ -317,7 +317,7 @@
             AND sr.actual_subject_id_ = #{query.subjectId}
         </if>
         <if test="query.search != null and query.search != ''">
-            AND (sr.name_ LIKE CONCAT('%',#{search},'%') OR sr.parents_phone_ LIKE CONCAT('%',#{search},'%'))
+            AND (sr.name_ LIKE CONCAT('%',#{query.search},'%') OR sr.parents_phone_ LIKE CONCAT('%',#{query.search},'%'))
         </if>
     </select>