From 6a0518935f27b0ffb4d52a19165eb4663131d18d Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 15 Aug 2023 14:26:54 +0800
Subject: [PATCH] 后台修改

---
 src/main/resources/mapper/dapp/MallGoodsMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/dapp/MallGoodsMapper.xml b/src/main/resources/mapper/dapp/MallGoodsMapper.xml
index a14017c..6f7b79d 100644
--- a/src/main/resources/mapper/dapp/MallGoodsMapper.xml
+++ b/src/main/resources/mapper/dapp/MallGoodsMapper.xml
@@ -4,8 +4,10 @@
 
     <select id="selectMallGoodsInPage" resultType="cc.mrbird.febs.dapp.entity.MallGoods">
         select
-        a.*
+        a.*,
+        b.name categoryName
         from mall_goods a
+        left join mall_goods_category b on a.category_id = b.id
         <where>
             <if test="record != null">
                 <if test="record.goodsName != null and record.goodsName != ''">

--
Gitblit v1.9.1