后付费为打票修复

This commit is contained in:
张松
2025-03-18 14:41:49 +08:00
parent 3dbca31519
commit 5f6026833a

View File

@@ -62,7 +62,7 @@ public class PrintMqListener {
throw new RuntimeException("订单打印失败未传递orderId"); throw new RuntimeException("订单打印失败未传递orderId");
} }
Boolean printOrder = jsonObject.getBoolean("printOrder"); Boolean printOrder = jsonObject.getBoolean("printOrder");
printerHandler.handler(orderId, printOrder != null && !printOrder ? PrinterHandler.PrintTypeEnum.ORDER : PrinterHandler.PrintTypeEnum.ONE_AND_ORDER); printerHandler.handler(orderId, printOrder != null && !printOrder ? PrinterHandler.PrintTypeEnum.ONE : PrinterHandler.PrintTypeEnum.ONE_AND_ORDER);
}); });
} }