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

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

@@ -438,7 +438,7 @@
                 AND (su.username_ LIKE CONCAT('%',#{name},'%') OR sr.parents_phone_ LIKE CONCAT('%',#{name},'%'))
             </if>
             <if test="currentGrade != null">
-                AND sr.current_grade_ LIKE CONCAT('%',#{currentGrade},'%')
+                AND st.current_grade_ = #{currentGrade}
             </if>
             <if test="createYear != null">
                 AND DATE_FORMAT(sr.create_time_,'%Y') = #{createYear}