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