|
@@ -184,18 +184,26 @@ public class AppUserLiveDividedTask {
|
|
|
|
|
|
finTranRecord.setToUid(appUser.getUserid());
|
|
|
finTranRecord.setUid(appUser.getUserid());
|
|
|
+
|
|
|
+ finTranRecord.setProId(0L);
|
|
|
+ finTranRecord.setProCount(0L);
|
|
|
+ finTranRecord.setSceneId1(0L);
|
|
|
+ finTranRecord.setSceneId2(null);
|
|
|
+ finTranRecord.setSceneType(0L);
|
|
|
+
|
|
|
//主播记录礼物来源为刷礼物的人
|
|
|
if(null != superTran && item.getUserId().equals(appUser.getUserid())){
|
|
|
finTranRecord.setFromUid(superTran.getUid());
|
|
|
+ finTranRecord.setProId(superTran.getProId());
|
|
|
+ finTranRecord.setProCount(superTran.getProCount());
|
|
|
+ finTranRecord.setSceneId1(superTran.getSceneId1());
|
|
|
+ finTranRecord.setSceneId2(superTran.getSceneId2());
|
|
|
+ finTranRecord.setSceneType(superTran.getSceneType());
|
|
|
}else{
|
|
|
finTranRecord.setFromUid(item.getUserId());
|
|
|
}
|
|
|
|
|
|
|
|
|
- finTranRecord.setSceneId1(0L);
|
|
|
- finTranRecord.setSceneId2(null);
|
|
|
- finTranRecord.setSceneType(0L);
|
|
|
-
|
|
|
finTranRecord.setTranGroupId(item.getId());
|
|
|
|
|
|
if(item.getCurrencyType() == 4){
|
|
@@ -223,8 +231,6 @@ public class AppUserLiveDividedTask {
|
|
|
finTranRecord.setManagerId(0L);
|
|
|
|
|
|
finTranRecord.setPerc(0.00);
|
|
|
- finTranRecord.setProId(0L);
|
|
|
- finTranRecord.setProCount(0L);
|
|
|
|
|
|
finTranRecord.setOrderId(item.getId());
|
|
|
//finTranRecordService.insertFinTranRecord(finTranRecord);
|