yonge 3 years ago
parent
commit
25422bcc4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

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

@@ -822,7 +822,7 @@
 		LEFT JOIN `sys_user` u on s.`user_id_` = u.`id_`
 		WHERE u.`del_flag_` = 0 
         <if test="organIds!=null and organIds.size()>0">
-            AND su.organ_id_ IN
+            AND u.organ_id_ IN
             <foreach collection="organIds" item="organId" open="(" close=")" separator=",">
                 #{organId}
             </foreach>