From 31831b6b79c8f9f0d97ec622143da6e50a6f8fb7 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 10 Feb 2023 10:27:49 +0800 Subject: [PATCH] prod参数修改 --- src/main/resources/mapper/modules/MallGoodsMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallGoodsMapper.xml b/src/main/resources/mapper/modules/MallGoodsMapper.xml index faa756b..fbeab66 100644 --- a/src/main/resources/mapper/modules/MallGoodsMapper.xml +++ b/src/main/resources/mapper/modules/MallGoodsMapper.xml @@ -341,4 +341,15 @@ </if> </select> + <select id="selectMallGoodsListQueryByRuleId" resultType="cc.mrbird.febs.mall.entity.MallGoods"> + select a.goods_name from mall_goods a where a.carriage_rule_id = #{id} + </select> + + <select id="selectMallGoodsListQueryByRuleIdAndIsSale" resultType="cc.mrbird.febs.mall.entity.MallGoods"> + select a.goods_name + from mall_goods a + where a.carriage_rule_id = #{id} + and a.is_sale = #{isSale} + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1