mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-16 15:58:41 +08:00
update添加在途金额字段
This commit is contained in:
@@ -687,7 +687,7 @@ public class AdapayService {
|
|||||||
log.info("==查询提现在途金额param:{}, result:{}", JSON.toJSONString(withdrawInfoVOS), JSON.toJSONString(pendingAmount));
|
log.info("==查询提现在途金额param:{}, result:{}", JSON.toJSONString(withdrawInfoVOS), JSON.toJSONString(pendingAmount));
|
||||||
if (CollectionUtils.isNotEmpty(withdrawInfoVOS)) {
|
if (CollectionUtils.isNotEmpty(withdrawInfoVOS)) {
|
||||||
pendingAmount = withdrawInfoVOS.stream()
|
pendingAmount = withdrawInfoVOS.stream()
|
||||||
.filter(item -> "pending".equals(item.getStatusDesc()))
|
.filter(item -> Constants.ZERO.equals(item.getStatusDesc()))
|
||||||
.map(WithdrawInfoVO::getCashAmt)
|
.map(WithdrawInfoVO::getCashAmt)
|
||||||
.reduce(BigDecimal.ZERO, BigDecimal::add);
|
.reduce(BigDecimal.ZERO, BigDecimal::add);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ public class WithdrawInfoVO {
|
|||||||
// 提现编号
|
// 提现编号
|
||||||
private String withdrawCode;
|
private String withdrawCode;
|
||||||
|
|
||||||
// 提现状态描述
|
// 提现状态描述 (0-处理中;1-已提现)
|
||||||
private String statusDesc;
|
private String statusDesc;
|
||||||
|
|
||||||
// 申请时间
|
// 申请时间
|
||||||
|
|||||||
Reference in New Issue
Block a user