Browse Source

no message

FengChaoYu 1 month ago
parent
commit
5c8d778765
1 changed files with 1 additions and 0 deletions
  1. 1 0
      mall-server-api/src/main/resources/mapper/CommonMapper.xml

+ 1 - 0
mall-server-api/src/main/resources/mapper/CommonMapper.xml

@@ -1203,6 +1203,7 @@
             LEFT JOIN goods_category b ON a.parent_category_id = b.category_id
             LEFT JOIN goods_category b ON a.parent_category_id = b.category_id
             LEFT JOIN goods_category c ON a.category_id = c.category_id
             LEFT JOIN goods_category c ON a.category_id = c.category_id
         ${ex.query}
         ${ex.query}
+        AND a.del = 0
         <if test="ex.orderBy == null or ex.orderBy ==''">
         <if test="ex.orderBy == null or ex.orderBy ==''">
             ORDER BY a.create_time DESC
             ORDER BY a.create_time DESC
         </if>
         </if>