1.获取桌码通过tableId获取
This commit is contained in:
@@ -90,7 +90,7 @@ public class PrintMechineConsumer {
|
||||
}
|
||||
|
||||
|
||||
list.parallelStream().forEach(it -> {
|
||||
list.forEach(it -> {
|
||||
if (!"network".equals(it.getConnectionType())) {
|
||||
log.error("非网络打印机:{},{}", it.getAddress(), it.getConnectionType());
|
||||
return;
|
||||
@@ -197,8 +197,7 @@ public class PrintMechineConsumer {
|
||||
return;
|
||||
}
|
||||
|
||||
if (StrUtil.isNotBlank(orderInfo.getUseType()) && orderInfo.getUseType().equals("postPay")
|
||||
&& (!orderInfo.getStatus().equals("closed"))) {
|
||||
if ((!orderInfo.getStatus().equals("closed"))) {
|
||||
return;
|
||||
}
|
||||
List<TbOrderDetail> tbOrderDetails = tbOrderDetailMapper.selectAllByOrderId(Integer.valueOf(orderId));
|
||||
|
||||
Reference in New Issue
Block a user