zouxuan 6 місяців тому
батько
коміт
b8dc7add8a

+ 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>