Explorar o código

禁用标准词隐藏

wangfeng %!s(int64=3) %!d(string=hai) anos
pai
achega
396a03fed6
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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>