Parcourir la source

Merge remote-tracking branch 'origin/master'

dongke il y a 1 an
Parent
commit
01d3ba5e62
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/main/java/com/dk/mdm/mapper/common/CommonMapper.xml

+ 3 - 0
src/main/java/com/dk/mdm/mapper/common/CommonMapper.xml

@@ -799,6 +799,7 @@
             <if test="cpId != null">
                 AND tmgc.cp_id = #{cpId}
             </if>
+            AND  tmgc.flg_valid
         </where>
         UNION ALL--父级
         SELECT
@@ -818,6 +819,7 @@
             <if test="cpId != null">
                 AND tmgc.cp_id = #{cpId}
             </if>
+            AND  tmgc.flg_valid
         </where>
         ) T
         WHERE T.cat_id IS NOT NULL
@@ -947,6 +949,7 @@
             <if test="cpId != null">
                 AND cp_id = #{cpId}
             </if>
+            AND flg_valid
         </where>
         order by display_no asc
         <if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">