xiaoyong931011
2023-03-20 04d7b9c15d4da263b64deaf9e4e136baca33e2b6
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
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);
}