飞鹅打印机打印菜品小票根据使用类型区分type

This commit is contained in:
SongZhang 2024-09-13 10:10:43 +08:00
parent 6a9f084df1
commit 3029e6c8be
1 changed files with 3 additions and 1 deletions

View File

@ -674,7 +674,9 @@ public class PrintMechineConsumer {
break;
case "one": //一菜一品
if (!orderInfo.getStatus().equals("unpaid")) {
if (orderInfo.getPayType() != null
&& "postPay".equals(orderInfo.getPayType())
&& !orderInfo.getStatus().equals("unpaid")) {
return;
}