打印修改

This commit is contained in:
张松 2025-03-13 10:55:38 +08:00
parent 8c0415f250
commit 0d18eb7223
1 changed files with 3 additions and 0 deletions

View File

@ -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;