From 5a02b62b3b2b3663b89a1fb8be0c3f6ac1eb1d3f Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 29 Jun 2021 17:54:48 +0800 Subject: [PATCH] fix --- gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml index 9ee661b..13fd2f0 100644 --- a/gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml +++ b/gc-shop/src/main/resources/mapper/shop/ScoreGoodsCategoryMapper.xml @@ -15,6 +15,7 @@ select a.id id, a.name name, b.id c_id, b.name c_name from xzx_score_goods_category a left join xzx_score_goods_category b on a.id=b.parent_id + where a.parent_id=0 </select> <select id="queryGoodsCategoryList" resultType="com.xzx.gc.shop.vo.QueryGoodsCategoryListVo"> -- Gitblit v1.9.1