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