| | |
| | | package com.yeshi.fanli.service.inter.redpack;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.redpack.RedPackWinInvite;
|
| | |
|
| | | public interface RedPackWinInviteService {
|
| | |
|
| | | /**
|
| | | * 订单到账-相关奖励
|
| | | * 邀请订单到账-相关奖励
|
| | | * @param uid
|
| | | * @param inviteeUid
|
| | | * @param source
|
| | | * @param orderNo
|
| | | */
|
| | | public void orderArriveReward(Long uid, Integer source, String orderNo) throws Exception;
|
| | | public void inviteOrderArriveReward(Long uid, Integer source, String orderNo) throws Exception;
|
| | |
|
| | | /**
|
| | | * 查询获得记录
|
| | | * @param start
|
| | | * @param count
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<RedPackWinInvite> getRewardList(int start, int count, Long uid);
|
| | |
|
| | | /**
|
| | | * 统计条数
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public Long countRewardRecord(Long uid);
|
| | |
|
| | | /**
|
| | | * 邀请成功奖励
|
| | | * @param uid
|
| | | * @throws Exception
|
| | | */
|
| | | public void inviteSucceedReward(Long uid) throws Exception;
|
| | |
|
| | | /**
|
| | | * 统计总领取金额
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public BigDecimal getRewardMoney(Long uid);
|
| | |
|
| | | }
|