|
@@ -92,10 +92,10 @@ public class AppUserLiveDividedTask {
|
|
}
|
|
}
|
|
liveRateList.add(userAgent);
|
|
liveRateList.add(userAgent);
|
|
|
|
|
|
- // 只需要获取直属上级
|
|
|
|
|
|
+ /*// 只需要获取直属上级
|
|
if(num == 1){
|
|
if(num == 1){
|
|
return;
|
|
return;
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
num ++;
|
|
num ++;
|
|
getLiveRate(userAgent.getPid(), liveRateList, num);
|
|
getLiveRate(userAgent.getPid(), liveRateList, num);
|
|
|
|
|
|
@@ -185,7 +185,7 @@ public class AppUserLiveDividedTask {
|
|
finTranRecord.setToUid(appUser.getUserid());
|
|
finTranRecord.setToUid(appUser.getUserid());
|
|
finTranRecord.setUid(appUser.getUserid());
|
|
finTranRecord.setUid(appUser.getUserid());
|
|
//主播记录礼物来源为刷礼物的人
|
|
//主播记录礼物来源为刷礼物的人
|
|
- if(null != superTran && i == 0){
|
|
|
|
|
|
+ if(null != superTran && item.getUserId().equals(appUser.getUserid())){
|
|
finTranRecord.setFromUid(superTran.getUid());
|
|
finTranRecord.setFromUid(superTran.getUid());
|
|
}else{
|
|
}else{
|
|
finTranRecord.setFromUid(item.getUserId());
|
|
finTranRecord.setFromUid(item.getUserId());
|