提交代码

dev-discount
胡锐 3 years ago
parent 92dad30108
commit ed9458de0d
  1. 6
      hai-service/src/main/java/com/hai/service/impl/HighOrderServiceImpl.java
  2. 2
      hai-service/src/main/java/com/hai/service/pay/impl/GoodsOrderServiceImpl.java

@ -392,7 +392,7 @@ public class HighOrderServiceImpl implements HighOrderService {
highChildOrder.getGasOilLiters().toString(), highChildOrder.getGasOilLiters().toString(),
highOrder.getTotalPrice().toString() highOrder.getTotalPrice().toString()
), 1); ), 1);
Thread.sleep(3000);
sp.print(store.getDeviceSn(), sp.print(store.getDeviceSn(),
SpPrinterTemplate.oilClientStubTemp( SpPrinterTemplate.oilClientStubTemp(
highChildOrder.getGoodsName(), highChildOrder.getGoodsName(),
@ -687,7 +687,7 @@ public class HighOrderServiceImpl implements HighOrderService {
highChildOrder.getGasOilLiters().toString(), highChildOrder.getGasOilLiters().toString(),
order.getTotalPrice().toString() order.getTotalPrice().toString()
), 1); ), 1);
Thread.sleep(3000);
sp.print(store.getDeviceSn(), sp.print(store.getDeviceSn(),
SpPrinterTemplate.oilClientStubTemp( SpPrinterTemplate.oilClientStubTemp(
highChildOrder.getGoodsName(), highChildOrder.getGoodsName(),
@ -1019,7 +1019,7 @@ public class HighOrderServiceImpl implements HighOrderService {
highChildOrder.getGasOilLiters().toString(), highChildOrder.getGasOilLiters().toString(),
order.getTotalPrice().toString() order.getTotalPrice().toString()
), 1); ), 1);
Thread.sleep(3000);
sp.print(store.getDeviceSn(), sp.print(store.getDeviceSn(),
SpPrinterTemplate.oilClientStubTemp( SpPrinterTemplate.oilClientStubTemp(
highChildOrder.getGoodsName(), highChildOrder.getGoodsName(),

@ -313,6 +313,8 @@ public class GoodsOrderServiceImpl implements PayService {
order.getTotalPrice().toString() order.getTotalPrice().toString()
), 1); ), 1);
Thread.sleep(3000);
sp.print(store.getDeviceSn(), sp.print(store.getDeviceSn(),
SpPrinterTemplate.oilClientStubTemp( SpPrinterTemplate.oilClientStubTemp(
highChildOrder.getGoodsName(), highChildOrder.getGoodsName(),

Loading…
Cancel
Save