提交 0bbb667f 作者: xiaowang

提现返回id

上级 7ea41234
...@@ -101,7 +101,7 @@ public class XzWithdrawalApplyDO implements Serializable { ...@@ -101,7 +101,7 @@ public class XzWithdrawalApplyDO implements Serializable {
} }
return UserBillingDetailVO.builder().userAccountId(userAccountId) return UserBillingDetailVO.builder().userAccountId(userAccountId)
.payNo(outerTradeNo).payTime(payTime).account(payAccount) .payNo(outerTradeNo).payTime(payTime).account(payAccount)
.name(name).id(id).build(); .name(name).id(id).cashAmtPaid(new BigDecimal(payAmount)).build();
} }
public WithdrawalApplyDTO buildWithdrawalApplyDTO() { public WithdrawalApplyDTO buildWithdrawalApplyDTO() {
......
...@@ -159,6 +159,7 @@ public class PayWalletServiceImpl implements PayWalletService { ...@@ -159,6 +159,7 @@ public class PayWalletServiceImpl implements PayWalletService {
flyerUpdatePayWallet.setCashAmt(flyerWallet.getCashAmt().add(flyerWalletFlowVO.getCashAmount())); flyerUpdatePayWallet.setCashAmt(flyerWallet.getCashAmt().add(flyerWalletFlowVO.getCashAmount()));
flyerUpdatePayWallet.setCashFreeze(flyerWallet.getCashFreeze().subtract(flyerWalletFlowVO.getCashAmount())); flyerUpdatePayWallet.setCashFreeze(flyerWallet.getCashFreeze().subtract(flyerWalletFlowVO.getCashAmount()));
flyerUpdatePayWallet.setSalaryAmt(flyerWallet.getSalaryAmt().add(flyerWalletFlowVO.getSalaryAmount()).subtract(publisherWalletFlowVO.getPercentagePenaltyOfOrder())); flyerUpdatePayWallet.setSalaryAmt(flyerWallet.getSalaryAmt().add(flyerWalletFlowVO.getSalaryAmount()).subtract(publisherWalletFlowVO.getPercentagePenaltyOfOrder()));
flyerUpdatePayWallet.setSalaryFreeze(flyerWallet.getSalaryFreeze().subtract(flyerWalletFlowVO.getSalaryAmount()));
int flyerUpdateCount = payWalletDao.updatePayWallet(flyerUpdatePayWallet); int flyerUpdateCount = payWalletDao.updatePayWallet(flyerUpdatePayWallet);
if (flyerUpdateCount > 0) { if (flyerUpdateCount > 0) {
// 记录订单保证金退回记录 // 记录订单保证金退回记录
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论