| 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); | 
| } |