From ee98d0782c94e000fe2c2524d1957f67c6a5e70b Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 12 May 2022 18:08:18 +0800 Subject: [PATCH] add apply --- 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