| | |
| | | teamEincomeManager.addTeamReward(uid, date, money, sourceType);
|
| | | }
|
| | |
|
| | | /**
|
| | | * 处理邀请维权
|
| | | * @param orderNo
|
| | | * @param sourceType
|
| | | * @param tradeId
|
| | | * @throws TaoBaoOrderException
|
| | | * @throws TeamRewardDebtException
|
| | | */
|
| | | public void weiQuan(String orderNo, int sourceType, String tradeId)
|
| | | throws TaoBaoOrderException, TeamRewardDebtException {
|
| | | if (sourceType == Constant.SOURCE_TYPE_TAOBAO) {// 只处理淘宝的维权
|
| | |
| | | debt.setOriginMoney(drawBackMoney);
|
| | | debt.setSourceId(child.getId());
|
| | | debt.setTradeId(tradeId);
|
| | | debt.setSourceType(sourceType);
|
| | | debt.setUid(child.getUserInfo().getId());
|
| | | debt.setEstimatePayTime(child.getPreGetTime());
|
| | | teamRewardDebtService.addDebt(debt);
|