From 3e4cfdd9da5ed748292e7da7ec42a64d0fe4b75c Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Sun, 26 Sep 2021 19:00:46 +0800 Subject: [PATCH] Merge branch 'master' of http://120.27.238.55:7000/r/xc-mall --- 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