wangyu 6 роки тому
батько
коміт
1ea422b1c8

+ 0 - 18
aipt-service/src/main/resources/mapper/ConceptMapper.xml

@@ -192,17 +192,11 @@
         LEFT JOIN kl_library_info t2 ON t1.id = t2.concept_id
         LEFT JOIN kl_concept_common t3 ON t1.id = t3.concept_id
         LEFT JOIN kl_lexicon t6 ON t6.id = t1.lib_type
-        <if test="isStatic != null and isStatic == 1">
-            LEFT JOIN kl_concept_detail t7 ON t7.concept_id = t1.id
-        </if>
         WHERE
         t1.is_deleted = 'N'
         AND t2.is_deleted = 'N'
         AND t3.is_deleted = 'N'
         AND t6.is_deleted = 'N'
-        <if test="isStatic != null and isStatic == 1">
-            AND t7.is_deleted = 'N'
-        </if>
         <if test="type != null">
             AND t1.lib_type = #{type}
         </if>
@@ -240,17 +234,11 @@
         LEFT JOIN kl_library_info t2 ON t1.id = t2.concept_id
         LEFT JOIN kl_concept_common t3 ON t1.id = t3.concept_id
         LEFT JOIN kl_lexicon t6 ON t6.id = t1.lib_type
-        <if test="isStatic != null and isStatic == 1">
-            LEFT JOIN kl_concept_detail t7 ON t7.concept_id = t1.id
-        </if>
         WHERE
         t1.is_deleted = 'N'
         AND t2.is_deleted = 'N'
         AND t3.is_deleted = 'N'
         AND t6.is_deleted = 'N'
-        <if test="isStatic != null and isStatic == 1">
-            AND t7.is_deleted = 'N'
-        </if>
         <if test="type != null">
             AND t1.lib_type = #{type}
         </if>
@@ -288,17 +276,11 @@
         LEFT JOIN kl_library_info t2 ON t1.id = t2.concept_id
         LEFT JOIN kl_concept_common t3 ON t1.id = t3.concept_id
         LEFT JOIN kl_lexicon t6 ON t6.id = t1.lib_type
-        <if test="isStatic != null and isStatic == 1">
-            LEFT JOIN kl_concept_detail t7 ON t7.concept_id = t1.id
-        </if>
         WHERE
         t1.is_deleted = 'N'
         AND t2.is_deleted = 'N'
         AND t3.is_deleted = 'N'
         AND t6.is_deleted = 'N'
-        <if test="isStatic != null and isStatic == 1">
-            AND t7.is_deleted = 'N'
-        </if>
         <if test="type != null">
             AND t1.lib_type = #{type}
         </if>