From feeb9cdfcf7628a9b7e8e01b995ceed70ac333ca Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 05 May 2022 17:45:37 +0800 Subject: [PATCH] fix goods-add --- src/main/resources/mapper/modules/MallGoodsMapper.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallGoodsMapper.xml b/src/main/resources/mapper/modules/MallGoodsMapper.xml index 1e5d5a1..dd028ba 100644 --- a/src/main/resources/mapper/modules/MallGoodsMapper.xml +++ b/src/main/resources/mapper/modules/MallGoodsMapper.xml @@ -171,4 +171,11 @@ <select id="getMallGoodsUpdateInfoById" resultType="cc.mrbird.febs.mall.vo.AdminMailGoodsUpdateVo"> select * from mall_goods a where a.id = #{id} </select> + + <select id="getAllGoodsTree" resultType="cc.mrbird.febs.mall.vo.AdminMallGoodsTreeVo"> + select + a.id goodsId, + a.goods_name goodsName + from mall_goods a + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1