From becd5425b79923c87632075266bfb8eb1f5ba556 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 20 Jul 2023 16:29:05 +0800 Subject: [PATCH] 购买民宿卷商品,支付完,订单就已经完成 --- src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java index d1130b3..7826bca 100644 --- a/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java +++ b/src/main/java/cc/mrbird/febs/mall/service/impl/ApiMallOrderInfoServiceImpl.java @@ -295,7 +295,7 @@ String payResultStr = ""; String wxResultStr = ""; - String amountActualMsg = ""; + String amountActualMsg = "0"; switch (payOrderDto.getType()) { case "1": BrandWCPayRequestData brandWCPayRequestData = null; @@ -372,8 +372,8 @@ if(amountActual.compareTo(BigDecimal.ZERO) > 0){ mallMoneyFlowService.addMoneyFlow(member.getId(), amountActual.negate(), MoneyFlowTypeEnum.PAY.getValue(), orderInfo.getOrderNo(), FlowTypeEnum.BALANCE.getValue(),"余额支付",2); + amountActualMsg = amountActual.toString(); } - amountActualMsg = amountActual.toString(); if(scoreActual.compareTo(BigDecimal.ZERO) > 0){ mallMoneyFlowService.addMoneyFlow(member.getId(), scoreActual.negate(), MoneyFlowTypeEnum.SCORE_PAY.getValue(), orderInfo.getOrderNo(), FlowTypeEnum.SCORE.getValue(),"积分支付",2); -- Gitblit v1.9.1