是否打印

This commit is contained in:
2025-04-01 16:41:35 +08:00
parent d5b05341e3
commit fa662d3d7a
2 changed files with 6 additions and 2 deletions

View File

@@ -55,7 +55,9 @@ public class RabbitPublisher {
//厨房票
sendMsg(RabbitConstants.Queue.ORDER_MACHINE_PRINT_QUEUE, new JSONObject().fluentPut("orderId", orderId).fluentPut("printOrder", printOrder).toString());
//前台票
sendMsg(RabbitConstants.Queue.ORDER_PRINT_QUEUE, orderId);
if (printOrder) {
sendMsg(RabbitConstants.Queue.ORDER_PRINT_QUEUE, orderId);
}
}
/**