|
|
|
@ -492,7 +492,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
|
|
|
|
|
new Thread(() -> { |
|
|
|
|
if (highOrder.getHighChildOrderList().get(0).getGoodsType().equals(3)) { |
|
|
|
|
printGasOrder(highOrder.getHighChildOrderList().get(0).getGoodsId(), highOrder); |
|
|
|
|
printGasOrder(highOrder.getHighChildOrderList().get(0).getGoodsId(), highOrder, false); |
|
|
|
|
|
|
|
|
|
Map<String, Object> pushMsg = new HashMap<>(); |
|
|
|
|
pushMsg.put("userId", highOrder.getHighChildOrderList().get(0).getGoodsId()); |
|
|
|
@ -736,7 +736,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
new Thread(() -> { |
|
|
|
|
if (order.getHighChildOrderList().get(0).getGoodsType().equals(3)) { |
|
|
|
|
|
|
|
|
|
printGasOrder(order.getHighChildOrderList().get(0).getGoodsId(), order); |
|
|
|
|
printGasOrder(order.getHighChildOrderList().get(0).getGoodsId(), order, false); |
|
|
|
|
|
|
|
|
|
Map<String, Object> pushMsg = new HashMap<>(); |
|
|
|
|
pushMsg.put("userId", order.getHighChildOrderList().get(0).getGoodsId()); |
|
|
|
@ -1065,7 +1065,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
|
|
|
|
|
new Thread(() -> { |
|
|
|
|
if (order.getHighChildOrderList().get(0).getGoodsType().equals(3)) { |
|
|
|
|
printGasOrder(order.getHighChildOrderList().get(0).getGoodsId(), order); |
|
|
|
|
printGasOrder(order.getHighChildOrderList().get(0).getGoodsId(), order, false); |
|
|
|
|
|
|
|
|
|
Map<String, Object> pushMsg = new HashMap<>(); |
|
|
|
|
pushMsg.put("userId", order.getHighChildOrderList().get(0).getGoodsId()); |
|
|
|
@ -1713,7 +1713,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void printGasOrder(Long gasId, HighOrder order) { |
|
|
|
|
public void printGasOrder(Long gasId, HighOrder order, boolean makeUp) { |
|
|
|
|
if (order == null) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
@ -1739,7 +1739,8 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
childOrder.getGasGunNo(), |
|
|
|
|
childOrder.getGasOilNo(), |
|
|
|
|
childOrder.getGasOilLiters().toString(), |
|
|
|
|
order.getTotalPrice().toString() |
|
|
|
|
order.getTotalPrice().toString(), |
|
|
|
|
makeUp |
|
|
|
|
) + "<BR>"; |
|
|
|
|
/* + |
|
|
|
|
SpPrinterTemplate.oilClientStubTemp( |
|
|
|
@ -1773,7 +1774,8 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
childOrder.getGasGunNo(), |
|
|
|
|
childOrder.getGasOilNo(), |
|
|
|
|
childOrder.getGasOilLiters().toString(), |
|
|
|
|
order.getTotalPrice().toString() |
|
|
|
|
order.getTotalPrice().toString(), |
|
|
|
|
makeUp |
|
|
|
|
)); |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
e.getMessage(); |
|
|
|
|