From bbe56bf9f6e66b3c1d0085838a6c16b76b0924f5 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Fri, 01 Oct 2021 20:36:58 +0800 Subject: [PATCH] add reset pwd --- src/main/resources/mapper/modules/MallGoodsSkuMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/modules/MallGoodsSkuMapper.xml b/src/main/resources/mapper/modules/MallGoodsSkuMapper.xml index 5bcfd23..88d4fd9 100644 --- a/src/main/resources/mapper/modules/MallGoodsSkuMapper.xml +++ b/src/main/resources/mapper/modules/MallGoodsSkuMapper.xml @@ -20,7 +20,9 @@ <select id="selectByGoodId" resultType="cc.mrbird.febs.mall.vo.AdminMailGoodsSkuDetailVo"> - select * from mall_goods_sku where goods_id = #{id} + select a.*,b.name styleName from mall_goods_sku a + left join mall_goods_style b on a.style_id=b.ID + where a.goods_id = #{id} </select> -- Gitblit v1.9.1