From d26736697059b67b84f3a5acc14099cb33afa1e0 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Sun, 26 Sep 2021 19:00:44 +0800 Subject: [PATCH] 20210926 --- src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml b/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml index f5909b1..c4045b6 100644 --- a/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml +++ b/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml @@ -62,4 +62,8 @@ select * from mall_goods_category where id=#{id} </select> + + <select id="getParentCategorys" resultType="cc.mrbird.febs.mall.vo.AdminMallGoodsCategoryTreeVo"> + SELECT m.id parentId,m.name name FROM mall_goods_category m where m.parent_id = 0 + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1