打印修改
This commit is contained in:
parent
8c0415f250
commit
0d18eb7223
|
|
@ -205,6 +205,7 @@ public abstract class PrinterHandler {
|
|||
if (orderInfo == null) {
|
||||
throw new RuntimeException("订单打印失败,订单不存在");
|
||||
}
|
||||
shopId = orderInfo.getShopId();
|
||||
obj = orderInfo;
|
||||
printMethod = "one";
|
||||
break;
|
||||
|
|
@ -213,6 +214,7 @@ public abstract class PrinterHandler {
|
|||
if (orderInfo == null) {
|
||||
throw new RuntimeException("订单打印失败,订单不存在");
|
||||
}
|
||||
shopId = orderInfo.getShopId();
|
||||
obj = orderInfo;
|
||||
printMethod = "normal";
|
||||
printType = "order";
|
||||
|
|
@ -222,6 +224,7 @@ public abstract class PrinterHandler {
|
|||
if (orderInfo == null) {
|
||||
throw new RuntimeException("订单打印失败,订单不存在");
|
||||
}
|
||||
shopId = orderInfo.getShopId();
|
||||
obj = orderInfo;
|
||||
printMethod = "all";
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue