From f9b4527fa9874be8d72b23b8d2aada617b0bdc71 Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Mon, 28 Apr 2025 14:03:25 +0800 Subject: [PATCH] fix(mall): 修正活动余量计算逻辑 --- src/main/java/cc/mrbird/febs/mall/service/impl/HappyActivityServiceImpl.java | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/HappyActivityServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/HappyActivityServiceImpl.java index 27f52ae..6f755cb 100644 --- a/src/main/java/cc/mrbird/febs/mall/service/impl/HappyActivityServiceImpl.java +++ b/src/main/java/cc/mrbird/febs/mall/service/impl/HappyActivityServiceImpl.java @@ -14,10 +14,7 @@ import cc.mrbird.febs.mall.service.IApiMallMemberWalletService; import cc.mrbird.febs.mall.vo.*; import cc.mrbird.febs.mall.dto.ApiOperateDoDto; -import cc.mrbird.febs.mall.vo.activity.ApiActivityOrderInfoVo; -import cc.mrbird.febs.mall.vo.activity.ApiActivityOrderListVo; -import cc.mrbird.febs.mall.vo.activity.ApiCheckOrderVo; -import cc.mrbird.febs.mall.vo.activity.ApiVoteActivityHotVo; +import cc.mrbird.febs.mall.vo.activity.*; import cc.mrbird.febs.pay.model.BrandWCPayRequestData; import cc.mrbird.febs.pay.service.IXcxPayService; import cc.mrbird.febs.rabbit.producter.AgentProducer; @@ -966,6 +963,12 @@ } @Override + public List<ApiActivityCommentVo> commentByActivityId(ApiActivityCommentDto dto) { + Page<ApiActivityCommentVo> page = new Page<>(dto.getPageNow(), dto.getPageSize()); + return this.baseMapper.selectActivityCommentPage(page,dto); + } + + @Override public FebsResponse voteActivityHot(Long id) { ApiVoteActivityHotVo apiVoteActivityHotVo = new ApiVoteActivityHotVo(); -- Gitblit v1.9.1