From 4496a21c7223879089a08f0fe08fa075459cf041 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sun, 26 Sep 2021 17:39:17 +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