1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| package cn.iocoder.yudao.module.statistics.service.trade;
|
| import cn.iocoder.yudao.module.trade.enums.brokerage.BrokerageWithdrawStatusEnum;
|
| import java.time.LocalDateTime;
|
| /**
| * 分销统计 Service 接口
| *
| * @author owen
| */
| public interface BrokerageStatisticsService {
|
| /**
| * 获取已结算的佣金金额
| *
| * @param beginTime 起始时间
| * @param endTime 截止时间
| * @return 已结算的佣金金额
| */
| Integer getBrokerageSettlementPriceSummary(LocalDateTime beginTime, LocalDateTime endTime);
|
| /**
| * 获取指定状态的提现记录数量
| *
| * @param status 提现记录状态
| * @return 提现记录数量
| */
| Long getWithdrawCountByStatus(BrokerageWithdrawStatusEnum status);
|
| }
|
|