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/mapper/MallRefundMapper.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/mapper/MallRefundMapper.java b/src/main/java/cc/mrbird/febs/mall/mapper/MallRefundMapper.java index f1a73ef..fe79fda 100644 --- a/src/main/java/cc/mrbird/febs/mall/mapper/MallRefundMapper.java +++ b/src/main/java/cc/mrbird/febs/mall/mapper/MallRefundMapper.java @@ -2,12 +2,15 @@ import cc.mrbird.febs.mall.entity.MallRefundEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.apache.ibatis.annotations.Param; import java.util.List; public interface MallRefundMapper extends BaseMapper<MallRefundEntity> { - List<MallRefundEntity> selectByItemIdAndOrderIdAndState(@Param("itemId")Long itemId, @Param("orderId")Long orderId, @Param("state")int i); + List<MallRefundEntity> selectByItemIdAndOrderIdAndState(@Param("itemId")Long itemId, @Param("orderId")Long orderId, @Param("state")Integer i); + IPage<MallRefundEntity> getOrderRefundListInPage(Page<MallRefundEntity> page, @Param("record")MallRefundEntity mallRefundEntity); } -- Gitblit v1.9.1