|
@@ -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
|