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