Explorar el Código

fix 报名缴费名字搜索

周箭河 hace 4 años
padre
commit
4cb999043e

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

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