浏览代码

no message

FengChaoYu 1 月之前
父节点
当前提交
5c8d778765
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 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>