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/ActivityService.java | 85 +++++++++++++++++++++++++++++++++++++++--- 1 files changed, 79 insertions(+), 6 deletions(-) diff --git a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/activity/ActivityService.java b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/activity/ActivityService.java index e1e26fa..2bc543c 100644 --- a/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/activity/ActivityService.java +++ b/ruoyi-modules/ruoyi-goods/src/main/java/com/ruoyi/goods/service/activity/ActivityService.java @@ -2,12 +2,11 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; -import com.ruoyi.goods.domain.dto.MgtActivityEditDto; -import com.ruoyi.goods.domain.dto.MgtActivityPageDto; -import com.ruoyi.goods.domain.dto.MgtActivityRecordPageDto; -import com.ruoyi.goods.domain.pojo.activity.Activity; +import com.ruoyi.goods.domain.dto.*; +import com.ruoyi.system.api.domain.poji.activity.Activity; import com.ruoyi.goods.domain.vo.*; -import com.ruoyi.system.api.domain.dto.MerPageDto; +import com.ruoyi.system.api.domain.dto.*; +import com.ruoyi.system.api.domain.vo.ActivityGoodsGetVo; import java.util.List; @@ -83,7 +82,7 @@ * @param * @return List<MgtActivityListVo> */ - List<MgtActivityListVo> listMgtActivity(); + List<MgtActivityListVo> listMgtActivity(MgtActivityListDto mgtActivityListDto); /** * @description 获取商户推荐活动 @@ -112,4 +111,78 @@ * @return List<AppActivityPageVo> */ List<AppActivityPageVo> pageAppActivity(Page page, Long shopId); + + /** + * @description 获取用户活动商品信息 + * @author jqs + * @date 2023/7/6 16:18 + * @param activityGoodsGetDto + * @return ActivityGoodsGetVo + */ + ActivityGoodsGetVo getUserActivityGoods(ActivityGoodsGetDto activityGoodsGetDto); + + /** + * @description 活动定时开始 + * @author jqs + * @date 2023/7/12 19:44 + * @param + * @return void + */ + void timingStartActivity(); + + /** + * @description 开始活动 + * @author jqs + * @date 2023/7/12 20:31 + * @param activityId + * @return void + */ + void startActivity(String activityId); + + /** + * @description 结束活动 + * @author jqs + * @date 2023/7/12 20:31 + * @param activityId + * @return void + */ + void endActivity(String activityId); + + /** + * @description 活动商品库存变化 + * @author jqs + * @date 2023/7/13 13:53 + * @param + * @return void + */ + void changeActivityTotal(ActivityTotalChangeDto activityTotalChangeDto); + + /** + * @description 活动商品库存变化 + * @author jqs + * @date 2023/7/13 13:53 + * @param + * @return void + */ + void changeActivityStock(AGStockChangeDto agStockChangeDto); + + + /** + * @description 获取活动列表 + * @author jqs + * @date 2023/7/17 14:46 + * @param staffActivityListDto + * @return List<MgtActivityListVo> + */ + List<MgtActivityListVo> listStaffActivity(StaffActivityListDto staffActivityListDto); + + + /** + * @description 判断商户是否在活动范围 + * @author jqs + * @date 2023/9/7 14:13 + * @param merActivityShopDto + * @return Boolean + */ + Boolean judgeActivityShop(MerActivityShopDto merActivityShopDto); } -- Gitblit v1.7.1