<if test="tenantIds.size() > 0"> AND A.PROC_TARGET_ID IN <foreach collection="tenantIds" item="tenantId" open="(" separator="," close=")"> #{tenantId} </foreach> </if>
<if test="tenantIds.size() > 0"> AND A.PROC_TARGET_ID IN <foreach collection="tenantIds" item="tenantId" open="(" separator="," close=")"> #{tenantId} </foreach> </if>