1.代客下单 会员余额支付明细不匹配修复

This commit is contained in:
SongZhang 2024-08-29 16:47:55 +08:00
parent 40b8198c7e
commit e504c26978
1 changed files with 1 additions and 1 deletions

View File

@ -807,7 +807,7 @@ public class PayService {
TbShopUserFlow userFlow = new TbShopUserFlow();
userFlow.setAmount((payAmount != null && discountAmount != null) ? payAmount : orderInfo.getOrderAmount());
userFlow.setBalance(shopUser.getAmount());
userFlow.setBalance(shopUser.getAmount().subtract((payAmount != null && discountAmount != null) ? payAmount : orderInfo.getOrderAmount()));
userFlow.setShopUserId(shopUser.getId());
userFlow.setBizCode("vipCardCash");
userFlow.setBizName("余额支付");