@@ -53,6 +53,8 @@
</if>
FROM
kl_library_info a
+ LEFT JOIN kl_concept c
+ ON a.concept_id = c.id
<if test="type!=null and type==100">
left join kl_disease b
on b.is_deleted = 'N'
@@ -74,6 +76,7 @@
and a.concept_id = b.concept_id
WHERE a.is_deleted = "N"
+ AND c.status = 1
<if test="type!=null">
AND a.type_id = #{type}
@@ -118,6 +121,8 @@
@@ -139,6 +144,7 @@