提交 8f341d89 作者: xiaowang

提现

上级 cfaf32a9
...@@ -165,7 +165,9 @@ public class PayWalletServiceImpl implements PayWalletService { ...@@ -165,7 +165,9 @@ public class PayWalletServiceImpl implements PayWalletService {
int flyerUpdateCount = payWalletDao.updatePayWallet(flyerUpdatePayWallet); int flyerUpdateCount = payWalletDao.updatePayWallet(flyerUpdatePayWallet);
if (flyerUpdateCount > 0) { if (flyerUpdateCount > 0) {
// 记录订单保证金退回记录 // 记录订单保证金退回记录
sendBackPledge(flyerWalletFlowVO); if (flyerWalletFlowVO.getCashAmount().compareTo(BigDecimal.ZERO) > 0 || flyerWalletFlowVO.getSalaryAmount().compareTo(BigDecimal.ZERO) > 0) {
sendBackPledge(flyerWalletFlowVO);
}
// 获得违约金流水记录 // 获得违约金流水记录
paymentOfLiquidatedDamage(publisherWalletFlowVO, flyerWalletFlowVO, 0); paymentOfLiquidatedDamage(publisherWalletFlowVO, flyerWalletFlowVO, 0);
return ResultBody.success(); return ResultBody.success();
...@@ -355,7 +357,7 @@ public class PayWalletServiceImpl implements PayWalletService { ...@@ -355,7 +357,7 @@ public class PayWalletServiceImpl implements PayWalletService {
flyerPayLogDO.setPayMethod(1300); flyerPayLogDO.setPayMethod(1300);
flyerPayLogDO.setPayNo(payNo); flyerPayLogDO.setPayNo(payNo);
flyerPayLogDO.setUserAccountId(userAccountId); flyerPayLogDO.setUserAccountId(userAccountId);
flyerPayLogDO.setCashAmtPaid(new BigDecimal((0))); flyerPayLogDO.setCashAmtPaid(BigDecimal.ZERO);
flyerPayLogDO.setSalaryAmtPaid(percentagePenaltyOfOrder.abs()); flyerPayLogDO.setSalaryAmtPaid(percentagePenaltyOfOrder.abs());
// 插入流水记录表 // 插入流水记录表
payWalletDao.insertPayLogDO(flyerPayLogDO); payWalletDao.insertPayLogDO(flyerPayLogDO);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论