修改充值配置金额类型为BigDecimal

This commit is contained in:
wuchunlei
2025-06-11 09:43:19 +08:00
parent 15b3732d36
commit 01bbe60254
6 changed files with 23 additions and 22 deletions

View File

@@ -46,8 +46,8 @@ public class PayPaymentOrderServiceImpl extends ServiceImpl<PayPaymentOrderDao,
PayPaymentOrderEntity payPaymentOrderEntity = new PayPaymentOrderEntity();
payPaymentOrderEntity.setUserId(user.getId());
payPaymentOrderEntity.setOrderId(payXxxOrderId);
payPaymentOrderEntity.setRealAmount(new BigDecimal(bookBuyConfigEntity.getRealMoney()));
payPaymentOrderEntity.setRechargeAmount(new BigDecimal(bookBuyConfigEntity.getMoney()));
payPaymentOrderEntity.setRealAmount(bookBuyConfigEntity.getRealMoney());
payPaymentOrderEntity.setRechargeAmount(bookBuyConfigEntity.getMoney());
payPaymentOrderEntity.setRechargeChannel(bookBuyConfigEntity.getQudao());
payPaymentOrderEntity.setRechargeStatus("success");
payPaymentOrderEntity.setSuccessTime(new Date());