|
|
@ -88,6 +88,10 @@ public class OrderPaySuccessService { |
|
|
|
|
|
|
|
|
|
|
|
if (gasOrder.getChannelType().equals(MerchantSourceTypeEnum.type1.getNumber())) { |
|
|
|
if (gasOrder.getChannelType().equals(MerchantSourceTypeEnum.type1.getNumber())) { |
|
|
|
// 自建站
|
|
|
|
// 自建站
|
|
|
|
|
|
|
|
// 打印小票
|
|
|
|
|
|
|
|
if (gasOrder.getChannelType().equals(MerchantSourceTypeEnum.type1.getNumber())) { |
|
|
|
|
|
|
|
deviceService.printGasOrder(gasOrder.getMerId(), gasOrder, false); |
|
|
|
|
|
|
|
} |
|
|
|
// 查询油站
|
|
|
|
// 查询油站
|
|
|
|
BsMerchant merchant = merchantService.getMerchant(gasOrder.getMerNo()); |
|
|
|
BsMerchant merchant = merchantService.getMerchant(gasOrder.getMerNo()); |
|
|
|
if (merchant != null) { |
|
|
|
if (merchant != null) { |
|
|
@ -122,11 +126,6 @@ public class OrderPaySuccessService { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 打印小票
|
|
|
|
|
|
|
|
if (gasOrder.getChannelType().equals(MerchantSourceTypeEnum.type1.getNumber())) { |
|
|
|
|
|
|
|
deviceService.printGasOrder(gasOrder.getMerId(), gasOrder, false ); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if (gasOrder.getChannelType().equals(MerchantSourceTypeEnum.type2.getNumber())) { |
|
|
|
} else if (gasOrder.getChannelType().equals(MerchantSourceTypeEnum.type2.getNumber())) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
// 能链【团油】
|
|
|
|
// 能链【团油】
|
|
|
|