|
@@ -697,8 +697,9 @@ public class AppUserCountTask {
|
|
|
|
|
|
}
|
|
|
//查询用户这段时间流水记录
|
|
|
- List<FinTranRecord> curTranList = finTranRecordService.selectUserTran(null, null, uid, null, endDate, null);
|
|
|
- withdrawAble += curTranList.stream().filter(e->FinTranType3.CONSUM_GAME_ANCHOR_WITHDRAW.getType()!=e.getTranType3().intValue()).mapToDouble(FinTranRecord::getDiamondCoinChange).sum();
|
|
|
+ /*List<FinTranRecord> curTranList = finTranRecordService.selectUserTran(null, null, uid, null, endDate, null);
|
|
|
+ withdrawAble += curTranList.stream().filter(e->FinTranType3.CONSUM_GAME_ANCHOR_WITHDRAW.getType()!=e.getTranType3().intValue()).mapToDouble(FinTranRecord::getDiamondCoinChange).sum();*/
|
|
|
+ withdrawAble = finTranRecordService.sumUserTran(null, null, uid, null, endDate, null);
|
|
|
AppUser updateUser = new AppUser();
|
|
|
updateUser.setUserid(uid);
|
|
|
updateUser.setWithdrawAble(withdrawAble);
|
|
@@ -714,8 +715,9 @@ public class AppUserCountTask {
|
|
|
log.info("用户{},有为满足提现订单,停止更新可提现余额",userId);
|
|
|
}else{
|
|
|
//查询用户这段时间流水记录
|
|
|
- List<FinTranRecord> curTranList = finTranRecordService.selectUserTran(null, null, userId, null, null, null);
|
|
|
- double withdrawAble = curTranList.stream().filter(e->FinTranType3.CONSUM_GAME_ANCHOR_WITHDRAW.getType()!=e.getTranType3().intValue()).mapToDouble(FinTranRecord::getDiamondCoinChange).sum();
|
|
|
+ /* List<FinTranRecord> curTranList = finTranRecordService.selectUserTran(null, null, userId, null, null, null);
|
|
|
+ double withdrawAble = curTranList.stream().filter(e->FinTranType3.CONSUM_GAME_ANCHOR_WITHDRAW.getType()!=e.getTranType3().intValue()).mapToDouble(FinTranRecord::getDiamondCoinChange).sum();*/
|
|
|
+ double withdrawAble = finTranRecordService.sumUserTran(null, null, userId, null, null, null);
|
|
|
AppUser updateUser = new AppUser();
|
|
|
updateUser.setUserid(userId);
|
|
|
updateUser.setWithdrawAble(withdrawAble);
|