From 80d17668d4e1b96ac88301cf7d2f7b9a086c9d32 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 16 May 2022 14:36:51 +0800 Subject: [PATCH] fix register --- src/main/resources/mapper/modules/MallGoodsStyleMapper.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallGoodsStyleMapper.xml b/src/main/resources/mapper/modules/MallGoodsStyleMapper.xml index 8ea2e48..24119ab 100644 --- a/src/main/resources/mapper/modules/MallGoodsStyleMapper.xml +++ b/src/main/resources/mapper/modules/MallGoodsStyleMapper.xml @@ -6,4 +6,10 @@ delete from mall_goods_style where goods_id = #{id} </delete> + + + <select id="selectByStyleName" resultType="cc.mrbird.febs.mall.entity.MallGoodsStyle"> + select * from mall_goods_style where goods_id = #{goodsId} and name = #{name} + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1