From 1e56643468a59f9ebacfbc6235bb6e717bfb71da Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 16 Aug 2023 11:24:13 +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