浏览代码

Merge remote-tracking branch 'origin/master'

Joburgess 5 年之前
父节点
当前提交
c2c7b8969b
共有 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