取消打印机延迟打印

dev-discount
胡锐 2 years ago
parent 3cd01161b4
commit c8b3bfabd9
  1. 6
      hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java

@ -1685,9 +1685,6 @@ public class HighOrderServiceImpl implements HighOrderService {
childOrder.getGasOilLiters().toString(), childOrder.getGasOilLiters().toString(),
order.getTotalPrice().toString() order.getTotalPrice().toString()
), 1); ), 1);
Thread.sleep(6000);
sp.print(device.getDeviceSn(), sp.print(device.getDeviceSn(),
SpPrinterTemplate.oilClientStubTemp( SpPrinterTemplate.oilClientStubTemp(
childOrder.getGoodsName(), childOrder.getGoodsName(),
@ -1719,9 +1716,6 @@ public class HighOrderServiceImpl implements HighOrderService {
childOrder.getGasOilLiters().toString(), childOrder.getGasOilLiters().toString(),
order.getTotalPrice().toString() order.getTotalPrice().toString()
)); ));
Thread.sleep(6000);
mqttProviderConfig.publish(2, false, device.getDeviceImei(), mqttProviderConfig.publish(2, false, device.getDeviceImei(),
ZkcPrinterTemplate.oilClientStubTemp( ZkcPrinterTemplate.oilClientStubTemp(
childOrder.getGoodsName(), childOrder.getGoodsName(),

Loading…
Cancel
Save