xiaoyong931011
2023-03-29 5cb35f00b996b09c749c909d54df45bf526645bc
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
32
33
34
package cc.mrbird.febs.mall.service;
 
import cc.mrbird.febs.mall.entity.MallMemberWallet;
 
import java.math.BigDecimal;
import java.util.List;
 
public interface IAgentService {
 
    void autoUpAgentLevel(Long memberId);
 
    void returnMoneyToAgent(Long orderId);
 
    void rankReturnMoney(Long orderId);
 
    void perkMoneyConsumer(long parseLong);
    /**
     * 统一处理补贴,流水,余额
     *      增加的余额是一样的
     * @param mallMemberWallets
     * @param amount
     * @param flowType
     * @param orderNo
     * @param memberId
     */
    void flowTotalScoreBalance(List<MallMemberWallet> mallMemberWallets, BigDecimal amount, int flowType, String orderNo, Long memberId);
 
    /**
     * 减少用户贡献值
     * @param memberId 用户ID
     * @param totalScore 补贴额度
     */
    void reduceStar(Long memberId,BigDecimal totalScore);
}