From ed9458de0d83b993951d26483b57b21d1b1dbe96 Mon Sep 17 00:00:00 2001 From: hurui <177768073@qq.com> Date: Tue, 7 Jun 2022 09:19:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hai/service/impl/HighOrderServiceImpl.java | 6 +++--- .../com/hai/service/pay/impl/GoodsOrderServiceImpl.java | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) 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(),