zouxuan 5 年之前
父节点
当前提交
cbe2e65b9c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      edu-user/edu-user-server/src/main/resources/config/mybatis/OrganizationMapper.xml

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

@@ -109,6 +109,9 @@
 			<if test="tenantId != null and tenantId != 0">
 				AND tenant_id_ = #{tenantId}
 			</if>
+			<if test="organId != null">
+				AND id_ != #{organId}
+			</if>
 			<if test="organIds != null">
 				AND id_ IN
 				<foreach collection="organIds" item="organId" separator="," open="(" close=")">