KKSU
2025-02-10 70af23c7bb284fbbda04934e4da63e4729b1a065
src/main/java/cc/mrbird/febs/pay/controller/FiuuReturnController.java
@@ -95,11 +95,12 @@
        MallMoneyFlow mallMoneyFlow = mallMoneyFlowMapper.selectOne(new LambdaQueryWrapper<MallMoneyFlow>().eq(MallMoneyFlow::getOrderNo, orderId));
        if (mallMoneyFlow != null) {
            // 更新订单状态为已支付
            mallMoneyFlow.setStatus(2);
            mallMoneyFlowMapper.updateById(mallMoneyFlow);
            memberWalletService.addBalance(mallMoneyFlow.getAmount(),mallMoneyFlow.getMemberId());
            if(1 == mallMoneyFlow.getStatus()){
                memberWalletService.addBalance(mallMoneyFlow.getAmount(),mallMoneyFlow.getMemberId());
                // 更新订单状态为已支付
                mallMoneyFlow.setStatus(2);
                mallMoneyFlowMapper.updateById(mallMoneyFlow);
            }
        }else{
            MallOrderInfo mallOrderInfo = mallOrderInfoMapper.selectById(Long.parseLong(orderId));
            if(mallOrderInfo != null){