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