From ae99a4a7654a6a3d8fd8343c22c415930f0a18cb Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 09 Feb 2023 11:15:15 +0800 Subject: [PATCH] 后台运费模板功能 --- 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