@@ -804,6 +804,12 @@
<if test="libType!=null">
kc.lib_type = #{libType}
</if>
+ <if test="excludedConceptIds != null and excludedConceptIds.size > 0">
+ AND kc.id not in
+ <foreach item="id" collection="excludedConceptIds" open="(" separator="," close=")">
+ #{id}
+ </foreach>
+ </if>
<if test="names != null and names.size > 0">
and
<choose>