瀏覽代碼

禁用标准词隐藏

wangfeng 3 年之前
父節點
當前提交
396a03fed6
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/main/resources/mapper/KlLibraryInfoMapper.xml

+ 6 - 0
src/main/resources/mapper/KlLibraryInfoMapper.xml

@@ -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
         </if>
         WHERE a.is_deleted = "N"
+        AND c.status = 1
         <if test="type!=null">
             AND a.type_id = #{type}
         </if>
@@ -118,6 +121,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'
@@ -139,6 +144,7 @@
             and a.concept_id = b.concept_id
         </if>
         WHERE a.is_deleted = "N"
+        AND c.status = 1
         <if test="type!=null">
             AND a.type_id = #{type}
         </if>