Merge remote-tracking branch 'origin/test' into test

This commit is contained in:
牛叉闪闪 2024-08-29 16:52:23 +08:00
commit 84e4a21064
1 changed files with 1 additions and 1 deletions

View File

@ -810,7 +810,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("余额支付");