FengChaoYu 1 mês atrás
pai
commit
5c8d778765

+ 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 c ON a.category_id = c.category_id
         ${ex.query}
+        AND a.del = 0
         <if test="ex.orderBy == null or ex.orderBy ==''">
             ORDER BY a.create_time DESC
         </if>