Quellcode durchsuchen

禁用标准词隐藏

wangfeng vor 3 Jahren
Ursprung
Commit
396a03fed6
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  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>