|
|
|
@ -1695,7 +1695,8 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
childOrder.getGasOilNo(), |
|
|
|
|
childOrder.getGasOilLiters().toString(), |
|
|
|
|
order.getTotalPrice().toString() |
|
|
|
|
) + "<BR><BR><BR><BR><BR>" + |
|
|
|
|
) + "<BR>"; |
|
|
|
|
/* + |
|
|
|
|
SpPrinterTemplate.oilClientStubTemp( |
|
|
|
|
childOrder.getGoodsName(), |
|
|
|
|
order.getOrderNo(), |
|
|
|
@ -1706,20 +1707,8 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
childOrder.getGasOilNo(), |
|
|
|
|
childOrder.getGasOilLiters().toString(), |
|
|
|
|
order.getTotalPrice().toString() |
|
|
|
|
) + "<BR>"; |
|
|
|
|
) + "<BR>";*/ |
|
|
|
|
sp.print(device.getDeviceSn(), printStr, 1); |
|
|
|
|
/* sp.print(device.getDeviceSn(), |
|
|
|
|
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() |
|
|
|
|
), 1);*/ |
|
|
|
|
} catch (Exception e) { |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
} |
|
|
|
@ -1730,7 +1719,7 @@ public class HighOrderServiceImpl implements HighOrderService { |
|
|
|
|
new Thread(() -> { |
|
|
|
|
try { |
|
|
|
|
mqttProviderConfig.publish(2, false, device.getDeviceImei(), |
|
|
|
|
ZkcPrinterTemplate.oilTemp( |
|
|
|
|
ZkcPrinterTemplate.oilCashierStubTemp( |
|
|
|
|
childOrder.getGoodsName(), |
|
|
|
|
order.getOrderNo(), |
|
|
|
|
DateUtil.date2String(order.getPayTime(), "yyyy-MM-dd HH:mm:ss"), |
|
|
|
|