|
|
@ -1685,20 +1685,8 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
childOrder.getGasOilNo(), |
|
|
|
childOrder.getGasOilNo(), |
|
|
|
childOrder.getGasOilLiters().toString(), |
|
|
|
childOrder.getGasOilLiters().toString(), |
|
|
|
order.getTotalPrice().toString() |
|
|
|
order.getTotalPrice().toString() |
|
|
|
) + "<BR><BR><BR><BR><BR>" + |
|
|
|
|
|
|
|
SpPrinterTemplate.oilClientStubTemp( |
|
|
|
|
|
|
|
childOrder.getGoodsName(), |
|
|
|
|
|
|
|
order.getOrderNo(), |
|
|
|
|
|
|
|
DateUtil.date2String(order.getPayTime(), "yyyy-MM-dd HH:mm:ss"), |
|
|
|
|
|
|
|
order.getMemPhone(), |
|
|
|
|
|
|
|
"嗨森逛", |
|
|
|
|
|
|
|
childOrder.getGasGunNo(), |
|
|
|
|
|
|
|
childOrder.getGasOilNo(), |
|
|
|
|
|
|
|
childOrder.getGasOilLiters().toString(), |
|
|
|
|
|
|
|
order.getTotalPrice().toString() |
|
|
|
|
|
|
|
) + "<BR>"; |
|
|
|
) + "<BR>"; |
|
|
|
sp.print(device.getDeviceSn(), printStr, 1); |
|
|
|
/* + |
|
|
|
/* sp.print(device.getDeviceSn(), |
|
|
|
|
|
|
|
SpPrinterTemplate.oilClientStubTemp( |
|
|
|
SpPrinterTemplate.oilClientStubTemp( |
|
|
|
childOrder.getGoodsName(), |
|
|
|
childOrder.getGoodsName(), |
|
|
|
order.getOrderNo(), |
|
|
|
order.getOrderNo(), |
|
|
@ -1709,7 +1697,8 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
childOrder.getGasOilNo(), |
|
|
|
childOrder.getGasOilNo(), |
|
|
|
childOrder.getGasOilLiters().toString(), |
|
|
|
childOrder.getGasOilLiters().toString(), |
|
|
|
order.getTotalPrice().toString() |
|
|
|
order.getTotalPrice().toString() |
|
|
|
), 1);*/ |
|
|
|
) + "<BR>";*/ |
|
|
|
|
|
|
|
sp.print(device.getDeviceSn(), printStr, 1); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
e.printStackTrace(); |
|
|
|
} |
|
|
|
} |
|
|
@ -1720,7 +1709,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
new Thread(() -> { |
|
|
|
new Thread(() -> { |
|
|
|
try { |
|
|
|
try { |
|
|
|
mqttProviderConfig.publish(2, false, device.getDeviceImei(), |
|
|
|
mqttProviderConfig.publish(2, false, device.getDeviceImei(), |
|
|
|
ZkcPrinterTemplate.oilTemp( |
|
|
|
ZkcPrinterTemplate.oilCashierStubTemp( |
|
|
|
childOrder.getGoodsName(), |
|
|
|
childOrder.getGoodsName(), |
|
|
|
order.getOrderNo(), |
|
|
|
order.getOrderNo(), |
|
|
|
DateUtil.date2String(order.getPayTime(), "yyyy-MM-dd HH:mm:ss"), |
|
|
|
DateUtil.date2String(order.getPayTime(), "yyyy-MM-dd HH:mm:ss"), |
|
|
|