xiaoyong931011
2023-03-15 c8553669f87a7bc4df3b2279ad4473b6b212a127
src/main/java/cc/mrbird/febs/mall/service/IAgentService.java
@@ -1,8 +1,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);
}