소스 검색

管乐迷优化需求

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>