xiaoyong931011
2023-02-09 ae99a4a7654a6a3d8fd8343c22c415930f0a18cb
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>