|
|
@ -114,15 +114,12 @@ public class OrderPaySuccessService { |
|
|
|
merchantAccountService.consume(gasOrder.getMerNo(), gasOrder.getGasRefuelPrice(), consumeMap); |
|
|
|
merchantAccountService.consume(gasOrder.getMerNo(), gasOrder.getGasRefuelPrice(), consumeMap); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// 商户额度
|
|
|
|
|
|
|
|
if (merchant.getChainBrandSettleType().equals(MerchantChainBrandSettleTypeEnum.type2.getNumber())) { |
|
|
|
|
|
|
|
// 商户额度
|
|
|
|
// 商户额度
|
|
|
|
Map<String,Object> consumeMap = new HashMap<>(); |
|
|
|
Map<String,Object> consumeMap = new HashMap<>(); |
|
|
|
consumeMap.put("sourceType", MerchantAccountRecordSourceTypeEnum.type2.getType()); |
|
|
|
consumeMap.put("sourceType", MerchantAccountRecordSourceTypeEnum.type2.getType()); |
|
|
|
consumeMap.put("sourceId", gasOrder.getId()); |
|
|
|
consumeMap.put("sourceId", gasOrder.getId()); |
|
|
|
consumeMap.put("sourceOrderNo", gasOrder.getOrderNo()); |
|
|
|
consumeMap.put("sourceOrderNo", gasOrder.getOrderNo()); |
|
|
|
merchantAccountService.consume(gasOrder.getMerNo(), gasOrder.getGasRefuelPrice(), consumeMap); |
|
|
|
merchantAccountService.consume(gasOrder.getMerNo(), gasOrder.getGasRefuelPrice(), consumeMap); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|