| | |
| | | @Transactional(rollbackFor = Exception.class)
|
| | | public void inviteSucceedReward(Long teamUid) throws Exception {
|
| | | // 是否在上线之后的邀请关系
|
| | | ThreeSale threeSale = threeSaleSerivce.getByWorkerIdAndTime(teamUid, TimeUtil.convertDateToTemp(Constant.VIP_ONLINE_TIME));
|
| | | ThreeSale threeSale = threeSaleSerivce.getByWorkerIdAndTime(teamUid, TimeUtil.convertDateToTemp(Constant.RED_PACK_ONLINE_TIME));
|
| | | if (threeSale == null)
|
| | | return;
|
| | |
|
| | |
| | | return;
|
| | |
|
| | | // 验证上下级关系
|
| | | ThreeSale threeSale = threeSaleSerivce.getByWorkerIdAndTime(teamUid, TimeUtil.convertDateToTemp(Constant.VIP_ONLINE_TIME));
|
| | | ThreeSale threeSale = threeSaleSerivce.getByWorkerIdAndTime(teamUid, TimeUtil.convertDateToTemp(Constant.RED_PACK_ONLINE_TIME));
|
| | | if (threeSale == null || threeSale.getBoss().getId().longValue() != uid.longValue())
|
| | | return;
|
| | |
|
| | |
| | | continue;
|
| | | }
|
| | |
|
| | | if (win.getType() == RedPackWinInviteTypeEnum.twoStageReward) {
|
| | | if (win.getType() == RedPackWinInviteTypeEnum.threeStageReward) {
|
| | | listVO.add(new RedPackWinProgressVO("第三阶段第" + month + "个月", time, money.toString()));
|
| | | month ++;
|
| | | continue;
|