zouxuan 5 년 전
부모
커밋
87967e7049
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      edu-user/edu-user-server/src/main/resources/config/mybatis/OrganizationMapper.xml

+ 1 - 1
edu-user/edu-user-server/src/main/resources/config/mybatis/OrganizationMapper.xml

@@ -110,7 +110,7 @@
 				AND tenant_id_ = #{tenantId}
 				AND tenant_id_ = #{tenantId}
 			</if>
 			</if>
 			<if test="organId != null">
 			<if test="organId != null">
-				AND id_ != #{organId}
+				AND parent_organ_id_ = #{organId}
 			</if>
 			</if>
 			<if test="organIds != null">
 			<if test="organIds != null">
 				AND id_ IN
 				AND id_ IN