소스 검색

fix 报名缴费名字搜索

周箭河 4 년 전
부모
커밋
4cb999043e
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

@@ -298,7 +298,7 @@
                 AND sv.num IS NULL
             </if>
             <if test="name != null">
-                AND (su.name_ LIKE CONCAT('%',#{name},'%') OR sr.parents_phone_ LIKE CONCAT('%',#{name},'%'))
+                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},'%')