|
|
|
@ -76,6 +76,7 @@ public class WalletAccountQueryServiceImpl implements WalletAccountQueryService |
|
|
|
.stream().map(WalletAccountRecord::getTradeAmount).reduce(BigDecimal.ZERO, BigDecimal::add)); |
|
|
|
//可提现金额(参考工资为例,15号后结上一个月之前的,15-1-14则结算前两个月之前的) |
|
|
|
walletAccountVo.setAvailableWithdrawBalance(countAvailableWithdrawBalance(walletAccount)); |
|
|
|
walletAccountVo.setSettlementBalance(walletAccount.getAvailableBalance().subtract(walletAccountVo.getAvailableWithdrawBalance())); |
|
|
|
} |
|
|
|
} |
|
|
|
return walletAccountVo; |
|
|
|
@ -133,7 +134,7 @@ public class WalletAccountQueryServiceImpl implements WalletAccountQueryService |
|
|
|
eVo.setMatchmakerLevelVal(rVo.getMatchmakerLevel().getDesc()); |
|
|
|
} |
|
|
|
eVo.setTradeTypeVal(rVo.getTradeType().getDesc()); |
|
|
|
eVo.setIsIncome(rVo.getIsIncome()?"收入":"支出"); |
|
|
|
eVo.setIsIncome(rVo.getIsIncome() ? "收入" : "支出"); |
|
|
|
}); |
|
|
|
list.add(exportVo); |
|
|
|
} |
|
|
|
|