1.获取桌码通过tableId获取

This commit is contained in:
2024-08-31 16:45:08 +08:00
parent ed78691326
commit 4101c5235b
3 changed files with 9 additions and 6 deletions

View File

@@ -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));