From 83d1fc89701245952275ce16fa96b11f398c6c51 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Sun, 26 Sep 2021 10:33:59 +0800
Subject: [PATCH] fix findCategory

---
 src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml b/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml
index 0305092..f5909b1 100644
--- a/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml
+++ b/src/main/resources/mapper/modules/MallGoodsCategoryMapper.xml
@@ -44,7 +44,7 @@
             b.name child_name,
             b.parent_id child_parent_id
         from mall_goods_category a
-          inner join mall_goods_category b on a.id=b.parent_id
+          left join mall_goods_category b on a.id=b.parent_id
         where a.parent_id = 0
     </select>
 

--
Gitblit v1.9.1