diff --git a/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java index fc6aa3ab..e520a0dc 100644 --- a/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java @@ -392,7 +392,7 @@ public class HighOrderServiceImpl implements HighOrderService { highChildOrder.getGasOilLiters().toString(), highOrder.getTotalPrice().toString() ), 1); - + Thread.sleep(3000); sp.print(store.getDeviceSn(), SpPrinterTemplate.oilClientStubTemp( highChildOrder.getGoodsName(), @@ -687,7 +687,7 @@ public class HighOrderServiceImpl implements HighOrderService { highChildOrder.getGasOilLiters().toString(), order.getTotalPrice().toString() ), 1); - + Thread.sleep(3000); sp.print(store.getDeviceSn(), SpPrinterTemplate.oilClientStubTemp( highChildOrder.getGoodsName(), @@ -1019,7 +1019,7 @@ public class HighOrderServiceImpl implements HighOrderService { highChildOrder.getGasOilLiters().toString(), order.getTotalPrice().toString() ), 1); - + Thread.sleep(3000); sp.print(store.getDeviceSn(), SpPrinterTemplate.oilClientStubTemp( highChildOrder.getGoodsName(), diff --git a/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java b/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java index 446e9862..12f8d186 100644 --- a/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java +++ b/hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java @@ -313,6 +313,8 @@ public class GoodsOrderServiceImpl implements PayService { order.getTotalPrice().toString() ), 1); + Thread.sleep(3000); + sp.print(store.getDeviceSn(), SpPrinterTemplate.oilClientStubTemp( highChildOrder.getGoodsName(),