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}