| | |
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.redpack.RedPackWinInvite;
|
| | | import com.yeshi.fanli.vo.redpack.RedPackWinProgressVO;
|
| | |
|
| | | public interface RedPackWinInviteService {
|
| | |
|
| | |
| | | * @return
|
| | | */
|
| | | public BigDecimal getRewardMoney(Long uid);
|
| | |
|
| | | |
| | | /**
|
| | | * 邀请进度 + 奖励
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<RedPackWinProgressVO> getInviteProgressByWorkerId(Long uid, Long tid);
|
| | |
|
| | |
|
| | | /**
|
| | | * 奖金排行-队员
|
| | | * @param uid
|
| | | * @return
|
| | | */
|
| | | public List<RedPackWinInvite> getWinTopListByBossId(int page, int count, Long uid);
|
| | |
|
| | | public long countWinTopListByBossId(Long uid);
|
| | |
|
| | | /**
|
| | | * 初始化红包一阶段
|
| | | * @param bossId
|
| | | * @param teamUid
|
| | | */
|
| | | public void initCreateRedPackWin(Long bossId, Long teamUid);
|
| | |
|
| | | /**
|
| | | * 第几个活动好友
|
| | | * @param uid
|
| | | * @param teamUid
|
| | | * @return
|
| | | */
|
| | | public long countTeamNumByTid(Long uid, Long teamUid);
|
| | |
|
| | | /**
|
| | | * 查询邀请红包明细
|
| | | * @param page
|
| | | * @param count
|
| | | * @param key
|
| | | * @param status
|
| | | * @return
|
| | | */
|
| | | public List<RedPackWinInvite> query(long page, int count, String key, String type);
|
| | |
|
| | | public long count(String key, String type);
|
| | |
|
| | | }
|