From 71f2eb9359fb4e4d9caaf4fd07bcc2b50e7674ac Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 10 Feb 2023 15:45:19 +0800 Subject: [PATCH] 增加样品功能 增加一个规格为样品 --- src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsMapper.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsMapper.java b/src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsMapper.java index 0a0e495..23c1079 100644 --- a/src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsMapper.java +++ b/src/main/java/cc/mrbird/febs/mall/mapper/MallGoodsMapper.java @@ -48,4 +48,14 @@ IPage<DataDictionaryCustom> getDeliveryHomeListInPage(Page<DataDictionaryCustom> page, @Param("record")AdminHomeDeliverySettingVo adminHomeDeliverySettingVo); MallGoodsCommentVo findMallGoodsCommentLevelByGoodsId(@Param("id")Long id); + + Integer upDateStockAndVolumeByGoodsId(@Param("id")Long id,@Param("cnt")Integer cnt); + + Integer updateStockAndVolumeByGoodsId(@Param("id")Long id,@Param("cnt")Integer cnt); + + List<MallGoodsListVo> selectMallGoodsListQueryNoPage(@Param("record")MallGoodsQueryDto queryDto); + + List<MallGoods> selectMallGoodsListQueryByRuleId(@Param("id")Long id); + + List<MallGoods> selectMallGoodsListQueryByRuleIdAndIsSale(@Param("id")Long id, @Param("isSale")Integer ishotStateYes); } -- Gitblit v1.9.1