From e41a2c93c1d366da245ffe2ecc0c9d4457e4457d Mon Sep 17 00:00:00 2001 From: phpcjl <phpcjl@gmail.com> Date: 星期五, 13 十二月 2024 18:21:21 +0800 Subject: [PATCH] 用户积分统计 --- ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/UserPointService.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/UserPointService.java b/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/UserPointService.java index 10047c5..ce68846 100644 --- a/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/UserPointService.java +++ b/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/service/UserPointService.java @@ -3,14 +3,16 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.ruoyi.account.api.model.UserPoint; import com.ruoyi.account.vo.UserPointDetailVO; +import com.ruoyi.account.vo.UserPointStatistics; import com.ruoyi.account.vo.UserPointVO; +import java.math.BigDecimal; import java.time.LocalDateTime; import java.util.List; /** * <p> - * 服务类 + * 服务类 * </p> * * @author luodangjia @@ -22,4 +24,8 @@ List<UserPointDetailVO> getUserPointDetail(Long userId, LocalDateTime startTime, LocalDateTime endTime, Integer type); + + void transferPoint(BigDecimal point, String phone); + + UserPointStatistics getStatistics(UserPoint userPoint); } -- Gitblit v1.7.1