取消打印机延迟打印

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

Loading…
Cancel
Save