From afa0dbb4f54e7244835dd67ec33c3e545f122f71 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期五, 17 一月 2025 16:40:43 +0800 Subject: [PATCH] bug修改 --- ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/activity/ActivityGoodsService.java | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/activity/ActivityGoodsService.java b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/activity/ActivityGoodsService.java index 43c5929..4704ac5 100644 --- a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/activity/ActivityGoodsService.java +++ b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/activity/ActivityGoodsService.java @@ -1,7 +1,10 @@ package com.ruoyi.goods.service.activity; import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.goods.domain.vo.MgtActivityGoodsListVo; import com.ruoyi.system.api.domain.poji.activity.ActivityGoods; + +import java.util.List; /** @@ -19,5 +22,31 @@ * @param goodsId * @return */ - ActivityGoods getByGoodsId(String goodsId); + ActivityGoods getByGoodsId(String activityId,String goodsId); + + /** + * @description 通过活动id删除商品 + * @author jqs + * @date 2023/6/14 15:47 + * @param activityId + * @return void + */ + void deleteByActivityId(String activityId); + /** + * @description + * @author jqs + * @date 2023/6/14 18:02 + * @param + * @return List<MgtActivityGoodsListVo> + */ + List<MgtActivityGoodsListVo> listVoByActivityId(String activityId); + + /** + * @description + * @author jqs + * @date 2023/7/12 20:35 + * @param activityId + * @return List<ActivityGoods> + */ + List<ActivityGoods> listByActivityId(String activityId); } -- Gitblit v1.7.1