| | |
| | | |
| | | String payResultStr = ""; |
| | | String wxResultStr = ""; |
| | | String amountActualMsg = ""; |
| | | String amountActualMsg = "0"; |
| | | switch (payOrderDto.getType()) { |
| | | case "1": |
| | | BrandWCPayRequestData brandWCPayRequestData = null; |
| | |
| | | if(amountActual.compareTo(BigDecimal.ZERO) > 0){ |
| | | mallMoneyFlowService.addMoneyFlow(member.getId(), amountActual.negate(), MoneyFlowTypeEnum.PAY.getValue(), |
| | | orderInfo.getOrderNo(), FlowTypeEnum.BALANCE.getValue(),"余额支付",2); |
| | | } |
| | | 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); |