飞鹅打印机打印菜品小票根据使用类型区分type
This commit is contained in:
@@ -674,7 +674,9 @@ public class PrintMechineConsumer {
|
|||||||
break;
|
break;
|
||||||
case "one": //一菜一品
|
case "one": //一菜一品
|
||||||
|
|
||||||
if (!orderInfo.getStatus().equals("unpaid")) {
|
if (orderInfo.getPayType() != null
|
||||||
|
&& "postPay".equals(orderInfo.getPayType())
|
||||||
|
&& !orderInfo.getStatus().equals("unpaid")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user